Please make sure you have read the wiki after you have completed compiling the sources and running the test suite.
- Open the solution folder in Visual Studio 2017. (The targetted .Net framework is 4.5.2.)
- Nuget will ensure that all packages are downloaded before compilation.
- This project currently uses MySQL as the database server. The schema script file for the required is included in the ObjectStore\Persistency.Adaptors\MySql\ folder ("Schema.txt").
- Make sure you run this database script to create the database on your local (or even remote) server.
- Open the TestBase.cs file in the ObjectStore.Tests\Tests\ folder. Add proper credentials of your database instance in the AppConfigSimulator method for the following properties: Host, PortNo, DbName, Username, Password. These reporesent, in the same order, your MySQL database host, MySQL port, the database name, your MySql database username so that you able to access the database, and the password.
- Leave the PersistenceDriver property as is.
- Compile the project.
- Make sure you have NUnit installed on your development machine.
- Once the compilation completes successfully, open the file ObjectStore.Tests.nunit in the ObjectStore.Tests\ project folder.
- You will be able to view the test suite in the NUnit runner.
- Run the entire test suite by pressing F5.
- Hopefully you should see a green bar after the test suite completes running all the tests. This shouldn't take more than a few seconds.
- Read the accompanying wiki.