https://github.com/colelawrence/group-traits
rudimentary algorithm for grouping objects based on traits
https://github.com/colelawrence/group-traits
algorithm metamorphic-testing school-project typescript utility
Last synced: 7 months ago
JSON representation
rudimentary algorithm for grouping objects based on traits
- Host: GitHub
- URL: https://github.com/colelawrence/group-traits
- Owner: colelawrence
- Created: 2016-11-06T06:32:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-15T13:04:32.000Z (almost 9 years ago)
- Last Synced: 2025-02-11T22:06:00.278Z (9 months ago)
- Topics: algorithm, metamorphic-testing, school-project, typescript, utility
- Language: TypeScript
- Size: 55.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Group Traits
============
[](https://travis-ci.org/ZombieHippie/group-traits)
This is an algorithm which divides up objects in groups based on their similar traits.
## Metamorphic Testing
This project's goal is to demonstrate Metamorphic testing on this domain by modifying the test oracles provided in the `./test/cases` directory.
The gist of metamorphic testing, is that we modify the existing test oracles in way which are randomized in ways which have predictable consequences.
For example, if we have a group which is entirely single traits of `1`, then adding the trait `2` to one of the objects randomly, we should recieve the same output.