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

Allow tcframe to skip checking unassigned subtask #166

Open
jonathanirvings opened this issue Apr 2, 2018 · 0 comments
Open

Allow tcframe to skip checking unassigned subtask #166

jonathanirvings opened this issue Apr 2, 2018 · 0 comments
Assignees
Labels

Comments

@jonathanirvings
Copy link
Contributor

Currently, tcframe always checks whether a generated testcase is also valid for subtasks not assigned to the testcase. If that's the case, tcframe will trigger an error something like

"..... satisfies subtask x but not assigned to it"

A feature suggested in this issue is allowing tcframe to skip this check by specifying some "flag" in spec.cpp.

@jonathanirvings suggested that this might be a good feature to have. With this feature, any problem with any complicated subtasks can be made simply with the following test group distribution:

TestGroup 1: Subtask {1}
TestGroup 2: Subtask {2}
....
TestGroup N: Subtask {N}

while without this feature, it is impossible to use this test group distribution if one subtask is a subset of another.

There are several testcase generator framework out there that simply takes a list of testcases to be generated for each subtask. With this feature (and using the test group distribution as illustrated above), migrating a code which uses such testcase generator framework to a code which uses tcframe becomes a lot easier.

@jonathanirvings jonathanirvings self-assigned this Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant