/diaspora-suite-test-evaluation

This is a side project, the objetive its do a evaluation of suite test quality from this open source social network.

Primary LanguageRubyGNU Affero General Public License v3.0AGPL-3.0

diaspora*

A privacy-aware, distributed, open source social network

Project site | Wiki | Bugtracker | Discussions and Support | License | Authors

Mutation Workflow

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

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'

Rspec

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/).

Installation

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!

Questions?

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.

Contribute

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.

Security

Found a security issue? Please disclose it responsibly. We have a team of developers listening to security@diasporafoundation.org. The PGP fingerprint is AB0D AB02 0FC5 D398 03AB 3CE1 6F70 243F 27AD 886A.