ZulipCSharp is a library to connect to a Zulip server via API based on .NET Core
Fork the repo and then clone it and then follow instructions per platform
Join us at zulip chat ZulipAPI.NET stream
If you havn't already download Visual Studio IDE form here, and node.js.
# download dependencies for local server
cd TestServer
npm i
Since Visual Studio IDE is not avalible for linux we need
to get dotnet
. Node for test server.
- To get dotnet follow instructions here https://www.microsoft.com/net/download/linux
- To get node follow instructions here https://nodejs.org/en/download/
# build the project
# will output some error ignore it
./build-project
# to run tests
./run-tests
commit messages should be formatted like below
unit tests: add tests for file
(part of project): (summary of changes made)
Test the code. We use xUnit for testing.
Our test need a local server so install
dependencies in TestServer
# start the server
# and then run tests using Visual Studio IDE
npm start
or to run test on command prompt/terminal
# on root directory
.\run-tests.cmd # for windows
./run-tests # for MacOS and linux
linting
npm run lint
# if you have common error use
npm run lint-fix