Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Melhorias no codigo.

  • Loading branch information...
commit 7eb0ddc5bc8d1a7553ddae5d585d4419140af676 1 parent ab12063
@tassiovirginio tassiovirginio authored
Showing with 22 additions and 802 deletions.
  1. BIN  bin/fa7/storys/AlunoComecaAUsarJbehave.class
  2. BIN  bin/fa7/storys/ClienteRealizaSaque.class
  3. BIN  bin/fa7/storys/ClienteRealizaSaqueParametrizado.class
  4. BIN  bin/fa7/storys/RegrasDoJogo.class
  5. +6 −25 src/fa7/storys/AlunoComecaAUsarJbehave.java
  6. +5 −24 src/fa7/storys/ClienteRealizaSaque.java
  7. +5 −25 src/fa7/storys/ClienteRealizaSaqueParametrizado.java
  8. +6 −25 src/fa7/storys/RegrasDoJogo.java
  9. +0 −23 target/jbehave/AfterStories.stats
  10. +0 −3  target/jbehave/AfterStories.txt
  11. +0 −23 target/jbehave/BeforeStories.stats
  12. +0 −3  target/jbehave/BeforeStories.txt
  13. +0 −23 target/jbehave/fa7.storys.cliente_realiza_saque_parametrizado.stats
  14. +0 −27 target/jbehave/fa7.storys.cliente_realiza_saque_parametrizado.txt
  15. +0 −58 target/jbehave/view/AfterStories.stats.html
  16. +0 −38 target/jbehave/view/AfterStories.txt.html
  17. +0 −58 target/jbehave/view/BeforeStories.stats.html
  18. +0 −38 target/jbehave/view/BeforeStories.txt.html
  19. +0 −58 target/jbehave/view/fa7.storys.cliente_realiza_saque_parametrizado.stats.html
  20. +0 −62 target/jbehave/view/fa7.storys.cliente_realiza_saque_parametrizado.txt.html
  21. +0 −50 target/jbehave/view/index.html
  22. +0 −239 target/jbehave/view/reports.html
View
BIN  bin/fa7/storys/AlunoComecaAUsarJbehave.class
Binary file not shown
View
BIN  bin/fa7/storys/ClienteRealizaSaque.class
Binary file not shown
View
BIN  bin/fa7/storys/ClienteRealizaSaqueParametrizado.class
Binary file not shown
View
BIN  bin/fa7/storys/RegrasDoJogo.class
Binary file not shown
View
31 src/fa7/storys/AlunoComecaAUsarJbehave.java
@@ -1,31 +1,12 @@
package fa7.storys;
-import java.util.List;
-
-import org.jbehave.core.configuration.Configuration;
-import org.jbehave.core.configuration.MostUsefulConfiguration;
-import org.jbehave.core.io.LoadFromClasspath;
-import org.jbehave.core.junit.JUnitStory;
-import org.jbehave.core.reporters.Format;
-import org.jbehave.core.reporters.StoryReporterBuilder;
-import org.jbehave.core.steps.CandidateSteps;
-import org.jbehave.core.steps.InstanceStepsFactory;
-
import fa7.storys.steps.AlunoComecaAUsarJBehaveSteps;
-public class AlunoComecaAUsarJbehave extends JUnitStory {
- @Override
- public Configuration configuration() {
- return new MostUsefulConfiguration()
- .useStoryLoader(new LoadFromClasspath(this.getClass()))
- .useStoryReporterBuilder(
- new StoryReporterBuilder().withDefaultFormats()
- .withFormats(Format.CONSOLE, Format.TXT));
- }
-
- @Override
- public List<CandidateSteps> candidateSteps() {
- return new InstanceStepsFactory(configuration(),
- new AlunoComecaAUsarJBehaveSteps()).createCandidateSteps();
+public class AlunoComecaAUsarJbehave extends JUnitStoryFA7 {
+
+ public AlunoComecaAUsarJbehave() {
+ object = this;
+ objectSteps = new AlunoComecaAUsarJBehaveSteps();
}
+
}
View
29 src/fa7/storys/ClienteRealizaSaque.java
@@ -1,31 +1,12 @@
package fa7.storys;
-import java.util.List;
-
-import org.jbehave.core.configuration.Configuration;
-import org.jbehave.core.configuration.MostUsefulConfiguration;
-import org.jbehave.core.io.LoadFromClasspath;
-import org.jbehave.core.junit.JUnitStory;
-import org.jbehave.core.reporters.Format;
-import org.jbehave.core.reporters.StoryReporterBuilder;
-import org.jbehave.core.steps.CandidateSteps;
-import org.jbehave.core.steps.InstanceStepsFactory;
-
import fa7.storys.steps.SaqueDeClienteSteps;
-public class ClienteRealizaSaque extends JUnitStory {
- @Override
- public Configuration configuration() {
- return new MostUsefulConfiguration()
- .useStoryLoader(new LoadFromClasspath(this.getClass()))
- .useStoryReporterBuilder(
- new StoryReporterBuilder().withDefaultFormats()
- .withFormats(Format.CONSOLE, Format.TXT));
+public class ClienteRealizaSaque extends JUnitStoryFA7 {
+
+ public ClienteRealizaSaque() {
+ object = this;
+ objectSteps = new SaqueDeClienteSteps();
}
- @Override
- public List<CandidateSteps> candidateSteps() {
- return new InstanceStepsFactory(configuration(),
- new SaqueDeClienteSteps()).createCandidateSteps();
- }
}
View
30 src/fa7/storys/ClienteRealizaSaqueParametrizado.java
@@ -1,31 +1,11 @@
package fa7.storys;
-import java.util.List;
-
-import org.jbehave.core.configuration.Configuration;
-import org.jbehave.core.configuration.MostUsefulConfiguration;
-import org.jbehave.core.io.LoadFromClasspath;
-import org.jbehave.core.junit.JUnitStory;
-import org.jbehave.core.reporters.Format;
-import org.jbehave.core.reporters.StoryReporterBuilder;
-import org.jbehave.core.steps.CandidateSteps;
-import org.jbehave.core.steps.InstanceStepsFactory;
-
import fa7.storys.steps.SaqueDeClienteParametrizadoSteps;
-public class ClienteRealizaSaqueParametrizado extends JUnitStory {
- @Override
- public Configuration configuration() {
- return new MostUsefulConfiguration()
- .useStoryLoader(new LoadFromClasspath(this.getClass()))
- .useStoryReporterBuilder(
- new StoryReporterBuilder().withDefaultFormats()
- .withFormats(Format.CONSOLE, Format.TXT));
- }
-
- @Override
- public List<CandidateSteps> candidateSteps() {
- return new InstanceStepsFactory(configuration(),
- new SaqueDeClienteParametrizadoSteps()).createCandidateSteps();
+public class ClienteRealizaSaqueParametrizado extends JUnitStoryFA7 {
+
+ public ClienteRealizaSaqueParametrizado() {
+ object = this;
+ objectSteps = new SaqueDeClienteParametrizadoSteps();
}
}
View
31 src/fa7/storys/RegrasDoJogo.java
@@ -1,31 +1,12 @@
package fa7.storys;
-import java.util.List;
-
-import org.jbehave.core.configuration.Configuration;
-import org.jbehave.core.configuration.MostUsefulConfiguration;
-import org.jbehave.core.io.LoadFromClasspath;
-import org.jbehave.core.junit.JUnitStory;
-import org.jbehave.core.reporters.Format;
-import org.jbehave.core.reporters.StoryReporterBuilder;
-import org.jbehave.core.steps.CandidateSteps;
-import org.jbehave.core.steps.InstanceStepsFactory;
-
import fa7.storys.steps.RegrasDoJogoSteps;
-public class RegrasDoJogo extends JUnitStory {
- @Override
- public Configuration configuration() {
- return new MostUsefulConfiguration()
- .useStoryLoader(new LoadFromClasspath(this.getClass()))
- .useStoryReporterBuilder(
- new StoryReporterBuilder().withDefaultFormats()
- .withFormats(Format.CONSOLE, Format.TXT));
- }
-
- @Override
- public List<CandidateSteps> candidateSteps() {
- return new InstanceStepsFactory(configuration(),
- new RegrasDoJogoSteps()).createCandidateSteps();
+public class RegrasDoJogo extends JUnitStoryFA7 {
+
+ public RegrasDoJogo() {
+ object = this;
+ objectSteps = new RegrasDoJogoSteps();
}
+
}
View
23 target/jbehave/AfterStories.stats
@@ -1,23 +0,0 @@
-#org.jbehave.core.reporters.PostStoryStatisticsCollector
-#Wed Oct 19 20:40:57 BRT 2011
-duration=1
-notAllowed=0
-examples=0
-scenariosNotAllowed=0
-pending=0
-stepsPending=0
-stepsNotPerformed=0
-scenariosSuccessful=0
-givenStoryScenarios=0
-givenStoryScenariosFailed=0
-stepsFailed=0
-scenarios=0
-givenStories=0
-stepsSuccessful=0
-steps=0
-givenStoryScenariosPending=0
-scenariosPending=0
-stepsIgnorable=0
-givenStoryScenariosNotAllowed=0
-scenariosFailed=0
-givenStoryScenariosSuccessful=0
View
3  target/jbehave/AfterStories.txt
@@ -1,3 +0,0 @@
-
-(AfterStories)
-
View
23 target/jbehave/BeforeStories.stats
@@ -1,23 +0,0 @@
-#org.jbehave.core.reporters.PostStoryStatisticsCollector
-#Wed Oct 19 20:40:57 BRT 2011
-duration=5
-notAllowed=0
-examples=0
-scenariosNotAllowed=0
-pending=0
-stepsPending=0
-stepsNotPerformed=0
-scenariosSuccessful=0
-givenStoryScenarios=0
-givenStoryScenariosFailed=0
-stepsFailed=0
-scenarios=0
-givenStories=0
-stepsSuccessful=0
-steps=0
-givenStoryScenariosPending=0
-scenariosPending=0
-stepsIgnorable=0
-givenStoryScenariosNotAllowed=0
-scenariosFailed=0
-givenStoryScenariosSuccessful=0
View
3  target/jbehave/BeforeStories.txt
@@ -1,3 +0,0 @@
-
-(BeforeStories)
-
View
23 target/jbehave/fa7.storys.cliente_realiza_saque_parametrizado.stats
@@ -1,23 +0,0 @@
-#org.jbehave.core.reporters.PostStoryStatisticsCollector
-#Wed Oct 19 20:40:57 BRT 2011
-duration=170
-notAllowed=0
-examples=2
-scenariosNotAllowed=0
-pending=0
-stepsPending=0
-stepsNotPerformed=0
-scenariosSuccessful=1
-givenStoryScenarios=0
-givenStoryScenariosFailed=0
-stepsFailed=0
-scenarios=1
-givenStories=0
-stepsSuccessful=6
-steps=6
-givenStoryScenariosPending=0
-scenariosPending=0
-stepsIgnorable=0
-givenStoryScenariosNotAllowed=0
-scenariosFailed=0
-givenStoryScenariosSuccessful=0
View
27 target/jbehave/fa7.storys.cliente_realiza_saque_parametrizado.txt
@@ -1,27 +0,0 @@
-
-(fa7/storys/cliente_realiza_saque_parametrizado.story)
-Meta:
-@author Joazinho
-
-Scenario: Cliente especial com saldo negativo
-Examples:
-Given um cliente especial com saldo atual de <saldoAtual> reais
-When for solicitado um saque no valor <valorDoSaque> reais
-Then deve efetuar um saque e atualizar o saldo da conta para <novoSaldo> reais
-
-|saldoAtual|valorDoSaque|novoSaldo|
-|-200|100|-300|
-|-200|200|-400|
-
-Example: {saldoAtual=-200, valorDoSaque=100, novoSaldo=-300}
-Given um cliente especial com saldo atual de -200 reais
-When for solicitado um saque no valor 100 reais
-Then deve efetuar um saque e atualizar o saldo da conta para -300 reais
-
-Example: {saldoAtual=-200, valorDoSaque=200, novoSaldo=-400}
-Given um cliente especial com saldo atual de -200 reais
-When for solicitado um saque no valor 200 reais
-Then deve efetuar um saque e atualizar o saldo da conta para -400 reais
-
-
-
View
58 target/jbehave/view/AfterStories.stats.html
@@ -1,58 +0,0 @@
-<html>
-<head>
-<title>AfterStories</title>
-<style type="text/css" media="all">
-@import url( "./style/jbehave-core.css" );
-</style>
-</head>
-<body>
-
-<script type="syntaxhighlighter" class="brush: plain"><![CDATA[
-#org.jbehave.core.reporters.PostStoryStatisticsCollector
-#Wed Oct 19 20:40:57 BRT 2011
-duration=1
-notAllowed=0
-examples=0
-scenariosNotAllowed=0
-pending=0
-stepsPending=0
-stepsNotPerformed=0
-scenariosSuccessful=0
-givenStoryScenarios=0
-givenStoryScenariosFailed=0
-stepsFailed=0
-scenarios=0
-givenStories=0
-stepsSuccessful=0
-steps=0
-givenStoryScenariosPending=0
-scenariosPending=0
-stepsIgnorable=0
-givenStoryScenariosNotAllowed=0
-scenariosFailed=0
-givenStoryScenariosSuccessful=0
-
-]]></script>
-</body>
-<!-- SyntaxHighlighter resources: should be included at end of body -->
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shCore.css"/>
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shThemeRDark.css"/>
-<script language="javascript" src="./js/sh-3.0.83/shCore.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushBash.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushCss.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushDiff.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushGroovy.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJava.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJScript.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPlain.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPython.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushRuby.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushScala.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushXml.js"></script>
-<script language="javascript" src="./js/shBrushBdd.js"></script>
-<script type="text/javascript">
- SyntaxHighlighter.defaults['gutter'] = false;
- SyntaxHighlighter.defaults['toolbar'] = false;
- SyntaxHighlighter.all();
-</script>
-</html>
View
38 target/jbehave/view/AfterStories.txt.html
@@ -1,38 +0,0 @@
-<html>
-<head>
-<title>AfterStories</title>
-<style type="text/css" media="all">
-@import url( "./style/jbehave-core.css" );
-</style>
-</head>
-<body>
-
-<script type="syntaxhighlighter" class="brush: txt"><![CDATA[
-
-(AfterStories)
-
-
-]]></script>
-</body>
-<!-- SyntaxHighlighter resources: should be included at end of body -->
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shCore.css"/>
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shThemeRDark.css"/>
-<script language="javascript" src="./js/sh-3.0.83/shCore.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushBash.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushCss.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushDiff.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushGroovy.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJava.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJScript.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPlain.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPython.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushRuby.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushScala.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushXml.js"></script>
-<script language="javascript" src="./js/shBrushBdd.js"></script>
-<script type="text/javascript">
- SyntaxHighlighter.defaults['gutter'] = false;
- SyntaxHighlighter.defaults['toolbar'] = false;
- SyntaxHighlighter.all();
-</script>
-</html>
View
58 target/jbehave/view/BeforeStories.stats.html
@@ -1,58 +0,0 @@
-<html>
-<head>
-<title>BeforeStories</title>
-<style type="text/css" media="all">
-@import url( "./style/jbehave-core.css" );
-</style>
-</head>
-<body>
-
-<script type="syntaxhighlighter" class="brush: plain"><![CDATA[
-#org.jbehave.core.reporters.PostStoryStatisticsCollector
-#Wed Oct 19 20:40:57 BRT 2011
-duration=5
-notAllowed=0
-examples=0
-scenariosNotAllowed=0
-pending=0
-stepsPending=0
-stepsNotPerformed=0
-scenariosSuccessful=0
-givenStoryScenarios=0
-givenStoryScenariosFailed=0
-stepsFailed=0
-scenarios=0
-givenStories=0
-stepsSuccessful=0
-steps=0
-givenStoryScenariosPending=0
-scenariosPending=0
-stepsIgnorable=0
-givenStoryScenariosNotAllowed=0
-scenariosFailed=0
-givenStoryScenariosSuccessful=0
-
-]]></script>
-</body>
-<!-- SyntaxHighlighter resources: should be included at end of body -->
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shCore.css"/>
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shThemeRDark.css"/>
-<script language="javascript" src="./js/sh-3.0.83/shCore.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushBash.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushCss.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushDiff.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushGroovy.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJava.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJScript.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPlain.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPython.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushRuby.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushScala.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushXml.js"></script>
-<script language="javascript" src="./js/shBrushBdd.js"></script>
-<script type="text/javascript">
- SyntaxHighlighter.defaults['gutter'] = false;
- SyntaxHighlighter.defaults['toolbar'] = false;
- SyntaxHighlighter.all();
-</script>
-</html>
View
38 target/jbehave/view/BeforeStories.txt.html
@@ -1,38 +0,0 @@
-<html>
-<head>
-<title>BeforeStories</title>
-<style type="text/css" media="all">
-@import url( "./style/jbehave-core.css" );
-</style>
-</head>
-<body>
-
-<script type="syntaxhighlighter" class="brush: txt"><![CDATA[
-
-(BeforeStories)
-
-
-]]></script>
-</body>
-<!-- SyntaxHighlighter resources: should be included at end of body -->
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shCore.css"/>
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shThemeRDark.css"/>
-<script language="javascript" src="./js/sh-3.0.83/shCore.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushBash.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushCss.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushDiff.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushGroovy.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJava.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJScript.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPlain.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPython.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushRuby.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushScala.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushXml.js"></script>
-<script language="javascript" src="./js/shBrushBdd.js"></script>
-<script type="text/javascript">
- SyntaxHighlighter.defaults['gutter'] = false;
- SyntaxHighlighter.defaults['toolbar'] = false;
- SyntaxHighlighter.all();
-</script>
-</html>
View
58 target/jbehave/view/fa7.storys.cliente_realiza_saque_parametrizado.stats.html
@@ -1,58 +0,0 @@
-<html>
-<head>
-<title>fa7.storys.cliente_realiza_saque_parametrizado</title>
-<style type="text/css" media="all">
-@import url( "./style/jbehave-core.css" );
-</style>
-</head>
-<body>
-
-<script type="syntaxhighlighter" class="brush: plain"><![CDATA[
-#org.jbehave.core.reporters.PostStoryStatisticsCollector
-#Wed Oct 19 20:40:57 BRT 2011
-duration=170
-notAllowed=0
-examples=2
-scenariosNotAllowed=0
-pending=0
-stepsPending=0
-stepsNotPerformed=0
-scenariosSuccessful=1
-givenStoryScenarios=0
-givenStoryScenariosFailed=0
-stepsFailed=0
-scenarios=1
-givenStories=0
-stepsSuccessful=6
-steps=6
-givenStoryScenariosPending=0
-scenariosPending=0
-stepsIgnorable=0
-givenStoryScenariosNotAllowed=0
-scenariosFailed=0
-givenStoryScenariosSuccessful=0
-
-]]></script>
-</body>
-<!-- SyntaxHighlighter resources: should be included at end of body -->
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shCore.css"/>
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shThemeRDark.css"/>
-<script language="javascript" src="./js/sh-3.0.83/shCore.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushBash.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushCss.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushDiff.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushGroovy.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJava.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJScript.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPlain.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPython.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushRuby.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushScala.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushXml.js"></script>
-<script language="javascript" src="./js/shBrushBdd.js"></script>
-<script type="text/javascript">
- SyntaxHighlighter.defaults['gutter'] = false;
- SyntaxHighlighter.defaults['toolbar'] = false;
- SyntaxHighlighter.all();
-</script>
-</html>
View
62 target/jbehave/view/fa7.storys.cliente_realiza_saque_parametrizado.txt.html
@@ -1,62 +0,0 @@
-<html>
-<head>
-<title>fa7.storys.cliente_realiza_saque_parametrizado</title>
-<style type="text/css" media="all">
-@import url( "./style/jbehave-core.css" );
-</style>
-</head>
-<body>
-
-<script type="syntaxhighlighter" class="brush: txt"><![CDATA[
-
-(fa7/storys/cliente_realiza_saque_parametrizado.story)
-Meta:
-@author Joazinho
-
-Scenario: Cliente especial com saldo negativo
-Examples:
-Given um cliente especial com saldo atual de <saldoAtual> reais
-When for solicitado um saque no valor <valorDoSaque> reais
-Then deve efetuar um saque e atualizar o saldo da conta para <novoSaldo> reais
-
-|saldoAtual|valorDoSaque|novoSaldo|
-|-200|100|-300|
-|-200|200|-400|
-
-Example: {saldoAtual=-200, valorDoSaque=100, novoSaldo=-300}
-Given um cliente especial com saldo atual de -200 reais
-When for solicitado um saque no valor 100 reais
-Then deve efetuar um saque e atualizar o saldo da conta para -300 reais
-
-Example: {saldoAtual=-200, valorDoSaque=200, novoSaldo=-400}
-Given um cliente especial com saldo atual de -200 reais
-When for solicitado um saque no valor 200 reais
-Then deve efetuar um saque e atualizar o saldo da conta para -400 reais
-
-
-
-
-]]></script>
-</body>
-<!-- SyntaxHighlighter resources: should be included at end of body -->
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shCore.css"/>
-<link rel="stylesheet" type="text/css" href="./style/sh-3.0.83/shThemeRDark.css"/>
-<script language="javascript" src="./js/sh-3.0.83/shCore.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushBash.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushCss.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushDiff.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushGroovy.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJava.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushJScript.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPlain.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushPython.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushRuby.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushScala.js"></script>
-<script language="javascript" src="./js/sh-3.0.83/shBrushXml.js"></script>
-<script language="javascript" src="./js/shBrushBdd.js"></script>
-<script type="text/javascript">
- SyntaxHighlighter.defaults['gutter'] = false;
- SyntaxHighlighter.defaults['toolbar'] = false;
- SyntaxHighlighter.all();
-</script>
-</html>
View
50 target/jbehave/view/index.html
@@ -1,50 +0,0 @@
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-<head>
-<title>JBehave Views</title>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<style type="text/css" media="all">
-@import url( "./style/jbehave-core.css" );
-</style>
-</head>
-
-<body>
-<div id="banner"><img src="images/jbehave-logo.png" alt="jbehave" />
-<div class="clear"></div>
-</div>
-
-<div class="views">
-
-<h2>Story Views</h2>
-
-<table>
-<thead>
-<tr><th>Name</th><th>Description</th><th>View</th></tr>
-</thead>
-<tbody>
-<tr><td>Story Maps</td>
- <td>A view on the story maps generated for the configured meta filters and stories</td>
- <td><a href="maps.html">html</a></td>
-</tr>
-<tr>
- <td>Story Reports</td>
- <td>A view on the story reports generated when running the stories</td>
- <td><a href="reports.html">html</a></td>
-</tr>
-</tbody>
-</table>
-
-<br />
-</div>
-
-<div class="clear"></div>
-<div id="footer">
-<div class="left">Generated on 19/10/2011 20:40:58</div>
-<div class="right">JBehave &#169; 2003-2011</div>
-<div class="clear"></div>
-</div>
-
-</body>
-</html>
View
239 target/jbehave/view/reports.html
@@ -1,239 +0,0 @@
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-<head>
-<title>JBehave Reports</title>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<style type="text/css" media="all">
-@import url( "./style/jbehave-core.css" );
-</style>
-</head>
-
-<body>
-<div id="banner"><img src="images/jbehave-logo.png" alt="jbehave" />
-<div class="clear"></div>
-</div>
-
-<div class="reports">
-
-<h2>Story Reports</h2>
-
-<table>
-<colgroup span="2" class="stories"></colgroup>
-<colgroup span="5" class="scenarios"></colgroup>
-<colgroup span="5" class="scenarios"></colgroup>
-<colgroup span="6" class="steps"></colgroup>
-<colgroup class="view"></colgroup>
-<tr>
- <th colspan="2">Stories</th>
- <th colspan="5">Scenarios</th>
- <th colspan="5">GivenStory Scenarios</th>
- <th colspan="6">Steps</th>
- <th></th>
- <th></th>
-</tr>
-<tr>
- <th>Name</th>
- <th>Excluded</th>
- <th>Total</th>
- <th>Successful</th>
- <th>Pending</th>
- <th>Failed</th>
- <th>Excluded</th>
- <th>Total</th>
- <th>Successful</th>
- <th>Pending</th>
- <th>Failed</th>
- <th>Excluded</th>
- <th>Total</th>
- <th>Successful</th>
- <th>Pending</th>
- <th>Failed</th>
- <th>Not Performed</th>
- <th>Ignorable</th>
- <th>Duration (hh:mm:ss.SSS)</th>
- <th>View</th>
-</tr>
-<tr>
-<td class="story successful">AfterStories</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-<span class="">00:00:00.001</span></td>
-<td>
-<a href="AfterStories.stats.html">stats</a> |<a href="AfterStories.txt.html">txt</a>
-</td>
-</tr>
-<tr>
-<td class="story successful">BeforeStories</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-<span class="">00:00:00.005</span></td>
-<td>
-<a href="BeforeStories.stats.html">stats</a> |<a href="BeforeStories.txt.html">txt</a>
-</td>
-</tr>
-<tr>
-<td class="story successful">Fa7</td>
-<td>
-0</td>
-<td>
-<span class="">1</span></td>
-<td>
-<span class="successful">1</span></td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-<span class="">6</span></td>
-<td>
-<span class="successful">6</span></td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-<span class="">00:00:00.170</span></td>
-<td>
-<a href="fa7.storys.cliente_realiza_saque_parametrizado.stats.html">stats</a> |<a href="fa7.storys.cliente_realiza_saque_parametrizado.txt.html">txt</a>
-</td>
-</tr>
-<tr class="totals">
-<td>3</td>
-<td>
-0</td>
-<td>
-<span class="">1</span></td>
-<td>
-<span class="successful">1</span></td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-<span class="">6</span></td>
-<td>
-<span class="successful">6</span></td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-0</td>
-<td>
-<span class="">00:00:00.176</span></td>
-<td>
-Totals
-</td>
-</tr>
-</table>
-<br />
-</div>
-
-<div class="clear"></div>
-<div id="footer">
-<div class="left">Generated on 19/10/2011 20:40:58</div>
-<div class="right">JBehave &#169; 2003-2011</div>
-<div class="clear"></div>
-</div>
-
-</body>
-
-</html>
Please sign in to comment.
Something went wrong with that request. Please try again.