Skip to content

[<NUnit.Framework.SetUpFixture>] changes initial state for reserved words testing. #3

@EricGT

Description

@EricGT

For testing of mutable reswords in the printer module, the test rely on the state of reswords being as it would be if the script was run without [<NUnit.Framework.SetUpFixture>].

In the parser module "//" is added to reswords with

reserve_words ["//"]

which now changes reswords before the test starts causing the test to fail.

Maybe each module can be initialized after the test for that module are completed instead of initializing all of the modules up front.

I think when we are done we will have enough knowledge about the mutables to write specific functions to manage the mutables not only for testing but for restoring the state of similar to the checkpointing done with OCaml.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions