Skip to content

Instantly share code, notes, and snippets.

@hollodotme
Last active May 6, 2018 21:42
Show Gist options
  • Save hollodotme/6f3e2ca3a8b249da5d8d4d8e0723d3e0 to your computer and use it in GitHub Desktop.
Save hollodotme/6f3e2ca3a8b249da5d8d4d8e0723d3e0 to your computer and use it in GitHub Desktop.
PHPUnit Testdox mit gruppierten Data-Sets im Markdown-Format

😊 Passed | 🀬 Error | 😑 Failure | 😠 Warning | 🧐 Risky | 😢 Incomplete | 🀫 Skipped

Test suite: Unit

  • Environment: Development
  • Base namespace: Fortuneglobe\Prometheus\Exporters\Tests

Unit\Application\Metrics\GaugeListTest

  • Can Get Metric String For Multiple Gauges (😊 1)

  • Should Be Skipped (🀫 1)

    Skipped for testing

  • Should Be Incomplete (😢 1)

    Needs implementation.

  • Should Be Risky (🧐 1)

    This test did not perform any assertions


Unit\Application\Metrics\GaugeTest

  • Empty Metric Name Throws Exception (😊 5)
  • Can Get Prometheus Gauge String (😊 2, 😑 1)

    Failed asserting that two strings are identical.


Unit\Application\Metrics\LabelTest

  • Throws Exception For Empty Name (😊 5)
  • Throws Exception For Empty Value (😊 5)
  • Can Get Label String (😊 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment