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

Add mutator unittests #31

Merged
merged 3 commits into from Feb 7, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Add annotations to each of the test systems to describe themselves.

The test files have now been updated to include annotations, in the
file prologue comment, which describe the test and its place in the
testing environment.

These are just a convention that I've used previously, but they help
to focus anyone doing testing on describing where they fit into the
testing of the system. Such descriptions make it obvious when reviewed
where there are gaps in testing.
  • Loading branch information
gerph committed Jan 11, 2020
commit 410fa8ac13aba8fb37a285221fc7a16dac0925c0
@@ -1,6 +1,11 @@
#!/usr/bin/env python
"""
Run all the examples and collect the timings and results.
SUT: Invocation
Area: Examples run
Class: Functional
Type: System test
"""

import argparse
@@ -1,3 +1,12 @@
"""
Test the fuzzing terminates when a fault is found.
SUT: Fuzzer
Area: Fault finding
Class: Functional
Type: Integration test
"""

import io
import os
import unittest
@@ -1,3 +1,12 @@
"""
Test the fuzzing terminates when no faults found, at a run limit.
SUT: Fuzzer
Area: Non-fault operation
Class: Functional
Type: Integration test
"""

import unittest

try:
@@ -1,3 +1,12 @@
"""
Test the mutators operate as desired.
SUT: Corpus
Area: Mutators
Class: Functional
Type: Unit test
"""

import unittest

try:
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.