Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write tests #383

Open
GoogleCodeExporter opened this issue Mar 12, 2015 · 0 comments
Open

Write tests #383

GoogleCodeExporter opened this issue Mar 12, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Describe the feature you want implemented.
Need to write unit tests to improve stability.

Describe why you think that this feature is needed.
Because I don't want to be ashamed when looking at my project.

But seriously, unit tests are really important and should be added asap.

Are there any other projects that inspired you?
Virtually all serious projects.

Do you have any suggestions on how we could implement, design or present
this feature in an easy and intuitive way?
I will start by writing tests for the core and then move onto the various GUIs. 
I will use the NUnit framework as it has great integration with both VS and 
Mono.

A lot of code need to be rewritten to allow dependency-injection so the classes 
can be isolated for the tests. This will take some time to do, so the priority 
is to write all tests that are possible now and then move to 
dependency-injection based design of the whole core. The SystemWrapper library 
provides interfaces for all system classes.

This issue is fairly easy to start working on since many methods are easy to 
test and writing tests is very quick and easy. Also, there's tons of tests to 
write and writing tests gives you a great overview of the Stoffi source code.

So if you want to start programming but want to start easy, write tests! :)

Original issue reported on code.google.com by ephracis on 5 Jan 2014 at 11:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant