CliAssertion
CliAssertions contains methods to test a particular CliApp or a particular Command. It's possible to test directly a Command instance
Attributes
- Source
- CliAssertion.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CliAssertion.type
Members list
Value members
Concrete methods
Allows to check any assertion on the Command instance employed in a CliApp. Better use only when other methods do not cover your use-case.
Allows to check any assertion on the Command instance employed in a CliApp. Better use only when other methods do not cover your use-case.
Attributes
- Source
- CliAssertion.scala
Attributes
- Source
- CliAssertion.scala
Attributes
- Source
- CliAssertion.scala
Creates a TestResult from an Assertion over the result of running a command on a CliApp. It can test errors and values produced by the CliApp.
Creates a TestResult from an Assertion over the result of running a command on a CliApp. It can test errors and values produced by the CliApp.
Attributes
- Source
- CliAssertion.scala
Creates a TestResult to test the output of a CliApp.
Creates a TestResult to test the output of a CliApp using a ZIO effect.
Creates a TestResult to test the output of a CliApp using a ZIO effect.
Attributes
- Source
- CliAssertion.scala
Tests the value produced by the Command instance. It fails when there is a ValidationError.
Tests the value produced by the Command instance. It fails when there is a ValidationError.
Attributes
- Source
- CliAssertion.scala
Creates a TestResult from an Assertion over the result of parsing a command. It can test ValidationError produced during the parsing process, the value produced by the Command instance and the triggering of built-in options.
Creates a TestResult from an Assertion over the result of parsing a command. It can test ValidationError produced during the parsing process, the value produced by the Command instance and the triggering of built-in options.
Attributes
- Source
- CliAssertion.scala
Creates a TestResult from an Assertion over the result of parsing a command. It can test ValidationError produced during the parsing process and the value produced by the Command instance.
Creates a TestResult from an Assertion over the result of parsing a command. It can test ValidationError produced during the parsing process and the value produced by the Command instance.
Attributes
- Source
- CliAssertion.scala
Attributes
- Source
- CliAssertion.scala
Attributes
- Source
- CliAssertion.scala
Checks the usage synopsis in String or UsageSynopsis form.
Attributes
- Source
- CliAssertion.scala
Attributes
- Source
- CliAssertion.scala
Checks the usage synopsis in String or UsageSynopsis form.
Attributes
- Source
- CliAssertion.scala
Attributes
- Source
- CliAssertion.scala
Checks if the console output of a CliApp contains all the String from a Seq[String].
Checks if the console output of a CliApp contains all the String from a Seq[String].
Attributes
- Source
- CliAssertion.scala
Implicits
Implicits
Attributes
- Source
- CliAssertion.scala