Should test for unused items and creatures
See original GitHub issueIt would be useful to have tests that ensured that each item and creature were mentioned by at least one location in the locations.json
configuration file with a positive probability.
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Save the Animals: Stop Animal Testing | - Lone Star College
Therefore, animals should not be used in research or to test the safety of products. First, animals' rights are violated when they are...
Read more >The Truth About Animal Testing | PETA
While some of the experimentation conducted on animals today is required by law, most of it isn't.
Read more >Animal Testing | Pros & Cons | ProCon.org
Proponents say animal testing contributes to life-saving cures and treatments. Opponents say animal testing is cruel and inhumane.
Read more >Animal testing and experiments FAQ
Which animals are used in experiments? ... Animals used in experiments include baboons, cats, cows, dogs, ferrets, fish, frogs, guinea pigs, hamsters, horses, ......
Read more >Animals Used in Testing | National Anti-Vivisection Society
Perhaps the most commonly known method of animal testing for toxicity is the Draize rabbit eye test, intended to predict whether a product...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I read about JUnit suites, but I don’t think they will be a good solution as they seem to clutter the tests a lot.
I do think that what we agreed upon yesterday is a sensible solution, and it doesn’t rely on ordering.
We should have a
SpecificIdJsonRule
that is instantiated from a set of Ids. Then we check whether or not the fields have one of these specific ids instead of any id, and if any of the ids haven’t been used at least once, we throw an exception.So in the beginning of the location tests, we create a
SpecificIdJsonRule
for item ids from the items JSON file.Closed.