All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Resources.FitNesseRoot.PlugIns.SshFixture.UserGuide.Options.OutputOptions.PreformattedOutput.wiki Maven / Gradle / Ivy

---
Test
---
!1 !-SshFixture-! preformatted output
This option is used to output preformatted tags wrapping. This option is a flag, so it just needs to be set (or unset) to works. Preformatted is a single value option so, each new definition will overwrite the previous one.

Note: like every other option, can be defined in multiple ways, as shown in [[!-DefineOptions-!][ code
{{{!-
|import                               |
|com.github.gun88.fitnesse.fixture.ssh|

|script      |ssh client|ssh-fitnesse.dev|
|open connection                         |
|execute     |echo foobar                |
|check       |output    |foobar          |
|add option  |PREFORMATTED               |
|execute     |echo foobar                |
|check       |output    |{{{foobar}}}    |
|reset option|PREFORMATTED               |
|execute     |echo foobar                |
|check       |output    |foobar          |
|close connection                        |

!define TEST_SYSTEM {slim}
!path ${jsch.jar.path}
!path ${sshFixture.jar.path}
-!}}}
Note: if !-SshFixture-! is not installed as a plugin, remember to set or replace properties: jsch.jar.path, sshFixture.jar.path; with actual paths.

Note: In this example the connection was built via username and password, that are set in plain text in table header. Click [[here][




© 2015 - 2024 Weber Informatics LLC | Privacy Policy