- UI test code is ugly
- UI test code is redundant
- UI tests are expensive to write
- Clean Test Specification
- Configurable Driver Groups
- Extensible Driver Configuration
- Fluid API Chaining
[Test] public void GoogleSearchPageTest() { Splint.Test(()=> {GoogleHomePage homePage = new GoogleHomePage(); GoogleResultsPage resultsPage = homePage.Search("Test Search"); Assert.IsTrue(resultsPage != null) }).WithDriver(DriverType.InternetExplorer) .Run()
}
[Test] public void GoogleSearchPageTest() { Splint.Test(()=> {GoogleHomePage homePage = new GoogleHomePage(); GoogleResultsPage resultsPage = homePage.Search("Test Search"); Assert.IsTrue(resultsPage != null) }).WithDrivers(new[]{DriverType.InternetExplorer,DriverType.Chrome}) .Run()
}
[Test] public void GoogleSearchPageTest() { Splint.Test(()=> {GoogleHomePage homePage = new GoogleHomePage(); GoogleResultsPage resultsPage = homePage.Search("Test Search"); Assert.IsTrue(resultsPage != null) }).WithAllDrivers() .Run()
}
[Test] public void GoogleSearchPageTest() { Splint.Test(()=> {GoogleHomePage homePage = new GoogleHomePage(); GoogleResultsPage resultsPage = homePage.Search("Test Search"); Assert.IsTrue(resultsPage != null) }).WithDriverGroup("Web") .Run()
}
[Test] public void GoogleSearchPageTest() { Splint.Test(()=> {GoogleHomePage homePage = new GoogleHomePage(); GoogleResultsPage resultsPage = homePage.Search("Test Search"); Assert.IsTrue(resultsPage != null) }).WithDriverGroups("Web","Mobile") .Run()
}
[Test] public void GoogleSearchPageTest() { Splint.Test(()=> {GoogleHomePage homePage = new GoogleHomePage(); GoogleResultsPage resultsPage = homePage.Search("Test Search"); Assert.IsTrue(resultsPage != null) }).WithAllDriverGroups() .Run()
}