RubyGems Navigation menu

suiteview 3.0.1

suiteview is a tool to help show the contents of a cucumber suite with your unique specifications `my_suiteview.rb` ```ruby require "suiteview" # Instantiate the SuiteView class and give it the location of your Cucumber Suite (repo) sv = SuiteView.new({repo: "features", include_tags: "@tweets,@followers"}) # Get a count of all Scenarios directly tagged with a particular tag sv.percentages.to_csv.render_to_file("my.csv") ``` And you'll have your output `my.csv` ```csv tag,percent @tweets,80.0 @followers,20.0 ``` `my_suiteview2.rb` ```ruby require "suiteview" # Instantiate the SuiteView class and give it the location of your Cucumber Suite (repo) sv = SuiteView.new({repo: "features", include_tags: "@tweets,@followers"}) # Get a count of all Scenarios directly tagged with a particular tag sv.total_tags_count.to_csv.render_to_file("my2.csv") ``` `my2.csv` ```csv tag,count @tweets,4 @followers,1 ```

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 3.1.0 - May 25, 2023 (6KB)
  2. 3.0.3 - May 25, 2023 (6KB)
  3. 3.0.2 - May 25, 2023 (6KB)
  4. 3.0.1 - May 25, 2023 (6KB)
  5. 2.2.0 - May 25, 2023 (5KB)
全てのバージョンを表示(全14件)

Runtime依存関係 (4):

chartkick ~> 1.4.1
cql ~> 1.7
csv ~> 3.0
launchy ~> 2.4.3

Development依存関係 (2):

rspec ~> 3.5
rubycritic ~> 2.9

所有者:

プッシュ者:

作者:

  • David West

SHA 256チェックサム:

e392d29fd39aa1be2436274a51081623fbf1ab13be6910ddc50fbf7a148ea390

累計ダウンロード数 3,197

このバージョンのみ 271

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: