Skip to content

Conversation

@alexjeffburke
Copy link

Make the minimal set of changes such that we are able to trigger the
excavation to a known directory of the in-tree example file. Check
that the expected HTML files were written for this known excavation
and assert some basic properties of the excavated artefacts.

The commit includes reworking of run_example wherein its excavation is
declared as a class and its core logic separated out into a run file.
This is done both to allow the tests to easily make use of the logic
and as groundwork for subsequent work to provide a unified entry point.

this PR is atop #2

Support a directory argument of "." to allow outputting to an output
folder in the cwd with an automatic suffix: ./_autoarchaologist

While here add top level run_example wrapper shell script in advance of a
future change to provide a unified run CLI.
… run.

Make the minimal set of changes such that we are able to trigger the
excavation to a known directory of the in-tree example file. Check
that the expected HTML files were written for this known excavation
and assert some basic properties of the excavated artifacts.

The commit includes reworking of run_example wherein its excavation is
declared as a class and its core logic separated out into a run.py file.
This is done both to allow the tests to easily make use of the logic and
as preliminary bits for subsequent work to provide a unified entry point.
@alexjeffburke alexjeffburke force-pushed the run_example-basic-tests branch from de31c14 to 51dba3c Compare October 2, 2024 19:05
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