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

@Before tapes #65

Open
malachid opened this issue Dec 13, 2017 · 1 comment
Open

@Before tapes #65

malachid opened this issue Dec 13, 2017 · 1 comment

Comments

@malachid
Copy link

Our current tests put the app into a starting state during the @before phase. It would be nice if that could be saved in it's own tape. Currently, a no-op @test results in 1.2mb yaml which is mostly duplicated between all the other tests.

@Tapchicoma
Copy link

As temporary workaround you can use RecoderRule directly in another TestRule, something like this, using "login" tape:

fun doLogin() {
    recoderRule.start("login")
    doActualLogin()
    recorderRule.stop()
}

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

No branches or pull requests

2 participants