public class WebFactRule extends Object implements org.junit.rules.TestRule
rule provides a mechanism for registering a web fact with a specific
name.| Constructor and Description |
|---|
WebFactRule(String factName,
de.codecentric.zucchini.bdd.dsl.ExecutionFact executionFact)
Initializes a web fact rule that registers the given
execution fact with the specified name. |
WebFactRule(String factName,
de.codecentric.zucchini.web.facts.WebFact webFact)
Initializes a web fact rule that registers the given
web fact
with the specified name. |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
public WebFactRule(String factName, de.codecentric.zucchini.web.facts.WebFact webFact)
web fact
with the specified name.factName - The name used to reference the fact afterwards.webFact - The web fact.public WebFactRule(String factName, de.codecentric.zucchini.bdd.dsl.ExecutionFact executionFact)
execution fact with the specified name.factName - The name used to reference the fact afterwards.executionFact - The execution fact.Copyright © 2015 codecentric AG. All rights reserved.