Test runs are by default stored in directories in [user home]/.loadui/results
. The directory name for a test run consists of the project name and the date of the test run, e.g. Project_1_2013-09-19_181414-802
. To share a test run, simply copy this directory (along with the project file found in [user home]/.loadui
).
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
@Category( IntegrationTest.class ) | |
public class TableLogTest extends FxIntegrationTest | |
{ | |
@Override | |
TestState getStartingState() | |
{ | |
return ProjectLoadedWithoutAgentsState.STATE; | |
} | |
void given() |
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
@Category( IntegrationTest.class ) | |
public class TableLogTest extends FxIntegrationTest | |
{ | |
@Override | |
TestState getStartingState() | |
{ | |
return ProjectLoadedWithoutAgentsState.STATE; | |
} | |
@Test |
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
Scenario: A new TableLog should not have any rows | |
Given an open project without any agents | |
And a Fixed Rate Generator is connected to a TableLog | |
Then the TableLog should not contain any rows | |
Scenario: A TableLog should get rows when getting input | |
Given an open project without any agents | |
And a Fixed Rate Generator is connected to a TableLog | |
When the test is run for 3 seconds | |
Then the TableLog should contain rows |
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
class TableLogTest extends FunSpec with FxIntegrationTest { | |
startingState = ProjectLoadedWithoutAgentsState.STATE | |
"A TableLog" should "have no rows to begin with" in { | |
aFixedRateGenerator.connectedTo( aTableLog ) | |
tableRows should be (empty) | |
} | |
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
@Category( IntegrationTest.class ) | |
public class TableLogTest extends FxIntegrationTest | |
{ | |
@Override | |
TestState getStartingState() | |
{ | |
return ProjectLoadedWithoutAgentsState.STATE; | |
} | |
@Test |
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
class TableLogTest extends FunSpec with FxIntegrationTest { | |
startingState = ProjectLoadedWithoutAgentsState.STATE | |
"A TableLog" should "have no rows to begin with" in { | |
create a TableLog | |
tableRows should be (empty) | |
} | |
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
class TableLogTestScala extends FlatSpec with ShouldMatchers with ComponentControl { | |
"A TableLog" should "have no rows initially" in { | |
create aTableLog | |
tableRows should be (empty) | |
} | |
it should "display rows when getting input" in { |
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.eviware.loadui.ui.fx.util.test; | |
import com.eviware.loadui.util.test.TestUtils; | |
import com.google.common.base.Preconditions; | |
import com.google.common.collect.ImmutableList; | |
import javafx.scene.Node; | |
import javafx.scene.control.Label; | |
import javafx.stage.Window; | |
import org.hamcrest.Description; | |
import org.hamcrest.Matcher; |
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
Exception in thread "MainThread" Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "__pyclasspath__/pythonCeleryWorker.py", line 7, in <module> | |
File "__pyclasspath__/celery/bin/__init__.py", line 3, in <module> | |
File "__pyclasspath__/celery/bin/base.py", line 82, in <module> | |
File "__pyclasspath__/celery/five.py", line 307, in __getattr__ | |
File "__pyclasspath__/celery/app/__init__.py", line 14, in <module> | |
File "__pyclasspath__/celery/_state.py", line 20, in <module> | |
File "__pyclasspath__/celery/utils/__init__.py", line 24, in <module> | |
File "__pyclasspath__/celery/exceptions.py", line 13, in <module> |