Sobre
- Twitter: @eliasnogueira
- Blog: eliasnogueira.com/blog
- Blog: qualister.com.br/blog
- Contato: elias (dot) nogueira (at) qualister (dot) com (dot) br
| import java.util.List; | |
| import org.jbehave.core.configuration.Configuration; | |
| import org.jbehave.core.configuration.MostUsefulConfiguration; | |
| import org.jbehave.core.io.CodeLocations; | |
| import org.jbehave.core.io.LoadFromClasspath; | |
| import org.jbehave.core.io.StoryFinder; | |
| import org.jbehave.core.junit.JUnitStory; | |
| import org.jbehave.core.reporters.StoryReporterBuilder; | |
| import org.jbehave.core.steps.InstanceStepsFactory; |
| <dependencies> | |
| <dependency> | |
| <groupId>org.jbehave</groupId> | |
| <artifactId>jbehave-core</artifactId> | |
| <version>3.9</version> | |
| </dependency> | |
| </dependencies> |
| Narrative: | |
| In order | |
| As a | |
| I want to | |
| Scenario: | |
| Given | |
| When | |
| Then |
| public class Estacionamento { | |
| public static enum TipoEstacionamento { | |
| RAPIDO, ECONOMICO, NORMAL, VALET | |
| } | |
| public int calculaValorEstacionamento(TipoEstacionamento tipoEstacionamento, String entrada, String saida) { | |
| int retorno = 0; |
| <dependencies> | |
| <dependency> | |
| <groupId>info.cukes</groupId> | |
| <artifactId>cucumber-picocontainer</artifactId> | |
| <version>1.1.5</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>info.cukes</groupId> | |
| <artifactId>cucumber-junit</artifactId> |
| import org.junit.runner.RunWith; | |
| import cucumber.api.CucumberOptions; | |
| import cucumber.api.junit.Cucumber; | |
| @RunWith(Cucumber.class) | |
| @Cucumber.Options(format={"pretty", "html:target/cucumber"}) | |
| public class ExecucaoCucumber { | |
| } |
| <project name="Execucao JUnit" default="test2" basedir="."> | |
| <property name="src" value="src" /> | |
| <property name="lib" value="lib" /> | |
| <property name="bin" value="bin" /> | |
| <property name="test" value="test" /> | |
| <property name="test.reports" value="reports" /> | |
| <path id="test.classpath"> |
| Antes de publicar uma app em cada loja virtual (Google Play, App Store, Windows Store e Amazon App Store) é extremamente importante conhecer os guias para que a sua aplicacão não seja rejeitada nestas lojas. | |
| iOS | |
| https://developer.apple.com/app-store/review/ | |
| Android | |
| http://developer.android.com/distribute/tools/launch-checklist.html | |
| Windows Phone | |
| http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx |
| import java.util.concurrent.ExecutorService; | |
| import java.util.concurrent.Executors; | |
| import java.util.concurrent.TimeUnit; | |
| import org.junit.runners.Parameterized; | |
| import org.junit.runners.model.RunnerScheduler; | |
| public class Paralelo extends Parameterized { | |
| public Paralelo(Class<?> arg0) throws Throwable { |