This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function TodoPage() { | |
'use strict'; | |
var idNew = '#new-todo'; | |
var title = 'title'; | |
var titleList = '#header > h1'; | |
var children = '#todo-list li'; | |
var childrenVisible = '#todo-list li:not(.hidden)'; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function TodoPage() { | |
'use strict'; | |
var idNew = '#new-todo'; | |
var title = 'title'; | |
var titleList = '#header > h1'; | |
var children = '#todo-list li'; | |
var childrenVisible = '#todo-list li:not(.hidden)'; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function TodoPage() { | |
'use strict'; | |
var ENTER_KEY = 13; | |
var idNew = '#new-todo'; | |
var title = 'title'; | |
var titleList = '#header > h1'; | |
var children = '#todo-list li'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function TodoPage() { | |
'use strict'; | |
var idNew = '#new-todo'; | |
var title = '#header > h1'; | |
var children = '#todo-list li'; | |
var nthChild = function(n) { | |
return children+':nth-child('+n+')'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.giovanetti; | |
import org.junit.Before; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
import org.springframework.beans.factory.annotation.Value; | |
import org.springframework.boot.test.IntegrationTest; | |
import org.springframework.boot.test.SpringApplicationConfiguration; | |
import org.springframework.boot.test.TestRestTemplate; | |
import org.springframework.http.HttpStatus; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.giovanetti.sample.batch.job; | |
import com.giovanetti.support.batch.configuration.GenericTestConfiguration; | |
import com.giovanetti.support.batch.rule.BatchProperties; | |
import org.junit.Before; | |
import org.junit.ClassRule; | |
import org.junit.Rule; | |
import org.junit.Test; | |
import org.junit.contrib.java.lang.system.ExpectedSystemExit; | |
import org.junit.contrib.java.lang.system.ProvideSystemProperty; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.giovanetti.sample.batch.job; | |
import com.giovanetti.support.batch.configuration.GenericTestConfiguration; | |
import com.giovanetti.support.batch.rule.BatchProperties; | |
import org.junit.Before; | |
import org.junit.ClassRule; | |
import org.junit.Rule; | |
import org.junit.Test; | |
import org.junit.contrib.java.lang.system.ExpectedSystemExit; | |
import org.junit.contrib.java.lang.system.ProvideSystemProperty; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.giovanetti.sample.batch.job; | |
import com.giovanetti.support.batch.annotations.TechnicalDataSource; | |
import com.giovanetti.support.batch.function.Consumer; | |
import com.giovanetti.support.batch.function.Function; | |
import org.springframework.batch.core.explore.JobExplorer; | |
import org.springframework.batch.core.explore.support.JobExplorerFactoryBean; | |
import org.springframework.batch.core.launch.JobLauncher; | |
import org.springframework.beans.factory.FactoryBean; | |
import org.springframework.beans.factory.annotation.Value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.giovanetti.sample.batch.job.cucumber; | |
import com.giovanetti.support.batch.rule.BatchProperties; | |
import cucumber.api.CucumberOptions; | |
import cucumber.api.junit.Cucumber; | |
import org.junit.BeforeClass; | |
import org.junit.runner.RunWith; | |
@RunWith(Cucumber.class) | |
@CucumberOptions(format = {"pretty", "html:target/cucumber-report"}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.giovanetti.sample.batch.job.cucumber; | |
import com.giovanetti.sample.batch.configuration.JobExtractionTestConfiguration; | |
import com.giovanetti.sample.batch.item.User; | |
import com.giovanetti.sample.batch.job.JobExtractionConfiguration; | |
import com.giovanetti.support.batch.annotations.FunctionalDataSource; | |
import com.ninja_squad.dbsetup.DbSetup; | |
import com.ninja_squad.dbsetup.destination.DataSourceDestination; | |
import com.ninja_squad.dbsetup.operation.Insert; |