public void SetUp()
        {
            theFolder = "Jasmine/TestPackage1";

            theFileSystem = new FileSystem();

            var port = PortFinder.FindPort(5501);

            theInput = new JasmineInput
            {
                BrowserFlag = BrowserType.Firefox,
                SerenityFile = "jasmine-serenity.txt",
                Mode = JasmineMode.run,
                PortFlag = port
            };

            theFileSystem.AlterFlatFile(theInput.SerenityFile, list =>
            {
                list.Fill("include:" + theFolder);
            });

            theFileSystem.CreateDirectory(theFolder, "bin");
        }
예제 #2
0
 public JasmineRunner(JasmineInput input)
 {
     _input = input;
 }
예제 #3
0
 public JasmineRunner(JasmineInput input)
 {
     _input = input;
     _input.PortFlag = PortFinder.FindPort(input.PortFlag);
 }
예제 #4
0
 public JasmineRunner(JasmineInput input)
 {
     _input          = input;
     _input.PortFlag = PortFinder.FindPort(input.PortFlag);
 }
예제 #5
0
 public JasmineRunner(JasmineInput input)
 {
     _input = input;
 }