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

Test all functionality #69

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Test all functionality #69

wants to merge 3 commits into from

Conversation

dbosk
Copy link
Owner

@dbosk dbosk commented Jan 20, 2022

Write tests for all functionality. These tests can be included as examples in the documentation.

dbosk added 3 commits January 11, 2020 09:09
We now introduce `tests.mk` in the intro chapter. However, the tests
will be covered in each chapter (i.e. in the NOWEB file of each
include).

There is a `tests.nw` file which sets up the structure. This file is
covered in the introduction. However, each file, e.g. `tex.mk.nw`, will
also have a code block `<<tests.mk>>` containing all test code. Then
`tests.mk` can be constructed from `tests.nw tex.mk.nw` and so on.

The rationale is that the tests should be with the code. Otherwise they
risk getting out of sync.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant