Project site | Wiki | Bugtracker | Discussions and Support | License | Authors
If you want to reproduce mutant tests, you need to understand the test structure of this project and how Mutant gem works. You can carry out mutations throughout the project or in small parts (advised).
1 - Clone repository
- git clone [email protected]:nukdown/diaspora-suite-test-evaluation.git
2 - Make sure you are in branch -> Mutant.
- git checkout Mutant
3 - Write these commands in CLI for run the tests in 'User' class for example:
- bundle install
- bin/rake assets:generate_error_pages
- RAILS_ENV="test" bin/rake db:create db:migrate
- RAILS_ENV="test" bundle exec mutant run --require ./config/environment.rb --use rspec -- 'User'
Since Diaspora is based on Ruby on Rails, we get the rspec testing environment practically for free. Our rspec tests are located in the spec/ directory and that directory is split up in subdirectories differentiating which parts of the code are being tested with the containing files (e.g. models in spec/models/, controllers in spec/controllers/ or the Diaspora lib in spec/lib/).
You don't have to install diaspora* to use the network. There are many servers connected to diaspora*s network which are open to anyone, and you can create an account on one of these servers. Have a look at our tips for finding a home, or you can just go straight to the list of open servers to sign up.
Want to own your data and install diaspora*? Whether you just want to try it out, want to install it on your server or want to contribute and need a development setup, our installation guides will get you started!
Have a look at our FAQs for users, for pod administrators or for developers.
Still haven't found an answer? Talk to us! Read how we communicate. We're here to answer all your questions.
To keep diaspora* growing and improving we need all help we can get. Whether you can contribute code, ideas, translations, bug reports or simply extend the community as a helpful user or pod administrator, your help is welcome!
Everyone interacting in diaspora’s codebases, issue trackers, chat rooms, the wiki, and the Discourse is expected to follow the diaspora* code of conduct.
Found a security issue? Please disclose it responsibly. We have a team of developers listening to [email protected]. The PGP fingerprint is AB0D AB02 0FC5 D398 03AB 3CE1 6F70 243F 27AD 886A.