Skip to content

testing #2

@nrdxp

Description

@nrdxp

One of the big selling points of a system like atom should be sane testing interfaces. Further, the code has reached a point that thorough testing is warranted to avoid constant breakage during feature development. Without a solid CI system to ensure the integrity of core features from here, feature development will be unecessarily painful.

The test directory should be converted to an atom, which is composed from a remote, known-good checkout of the composer logic, so we can still call tests on the live repository if/when the system breaks.

If we break any of the core assumptions with a careless copy, we could easily break things.

Things that still need to be tested:

  • the dir argument of compose should remain a path through the fixed point, or we loose lazy copying. We need a test for this to ensure changesets don't break it
  • thorough scope test, including attempts to break out of a module
  • the APIs of the functions compose depends on need to be thoroughly vetted and tested, as a special priority
  • all standard library functions should have sensible tests for known error conditions, edge-cases and args that should pass
  • any other, yet to be documented, core feature or condition that must remain invariant for the system to remain consistent should be added to this list if/when discovered

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions