Module: Luna::RSpec::Formatters::Profile
- Included in:
- Checks, Documentation, Emoji
- Defined in:
- lib/luna/rspec/formatters/profile.rb
Constant Summary collapse
- GROUPS =
" %{location} \u2910 %{count} for %{total}"- EXAMPLES_HEADER =
"\nTop %{size} slowest examples (%{seconds}s), %{per_cent}%% of total time:\n"- GROUPS_HEADER =
"\nTop %{size} slowest example groups:"- EXAMPLES =
" %{location} \u2910 %{seconds}"
Instance Method Summary collapse
-
#dump_profile(profile) ⇒ Object
– Profile.
-
#helpers ⇒ Object
– Help.
Instance Method Details
#dump_profile(profile) ⇒ Object
– Profile. –
25 26 27 28 29 30 |
# File 'lib/luna/rspec/formatters/profile.rb', line 25 def dump_profile(profile) dump_profile_slowest_examples(profile) dump_profile_slowest_example_groups( profile ) end |
#helpers ⇒ Object
– Help. –
18 19 20 |
# File 'lib/luna/rspec/formatters/profile.rb', line 18 def helpers ::RSpec::Core::Formatters::Helpers end |