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

Refactor tests #12

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

kentfredric
Copy link

This pull request is intentionally incomplete and just serves to make the work-in-progress more visible.

External dependencies are very limited on anything XS-like at present because we don't know what we can use, if anything, due to EUMM depending on us in some way some of the time, which may be a bootstrap problem when

EUMM -> EUM -> EUM.test -> Time::HiRes.configure -> EUMM

(And that might be a problem during perl bootstrap )

Either way, the tempdir consumption is expressly written such that

  • it doesn't matter how it works from the code side
  • the code side just uses runtemp
  • runtemp can be implemented however we want it to be
  • .... which could be T:TD:T ... who knows.

The initial commit factors out tests specific to mkmanifest invocation and there is one remanining call in the main .t yet to be isolated ( Because I don't know where to put it, mostly ).

Doing my best to migrate changes from Manifest.t to the relevant test files in steps so its obvious that our test coverage stays the same as it was ( or better ).

The new tests are going to be much larger by default due to the levels of isolation vs the existing one where every test is inextricably dependent on all the ones before it.

@kentfredric kentfredric changed the title Factor out tests specific to mkmanifest function for demonstration Refactor tests Feb 8, 2015
@kentfredric kentfredric force-pushed the test-refurbish branch 3 times, most recently from 7806eaf to 78ce16a Compare February 11, 2015 11:13
- With typo fixes by mohawk. Closes #1
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