Developer Docs

Application testing with C#Bot

The bot-written code of a Codebots web application utilises multiple testing methods to ensure the functionality written by the bots is well tested and ready for use. Any additional functionality you add to your application will require manually written tests. It is assumed that before you start this section of the C#Bot course, you have cloned your application’s code, and have set up and run your application locally. Click Running C#Bot for instructions on how to do this if you haven’t already.

The majority of the C#Bot application testing uses xUnit as the testing framework and test runner. With the exception of the client-side Client-side tests with C#Bot, all of the tests in a C#Bot project utilise xUnit to create the assertions and to run the tests.

On this page