petitest 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/CHANGELOG.md +3 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +105 -0
  7. data/Rakefile +6 -0
  8. data/lib/petitest/assertion_failure_error.rb +4 -0
  9. data/lib/petitest/assertion_failure_message.rb +35 -0
  10. data/lib/petitest/assertions.rb +46 -0
  11. data/lib/petitest/autorun.rb +8 -0
  12. data/lib/petitest/configuration.rb +26 -0
  13. data/lib/petitest/subscribers/base_subscriber.rb +21 -0
  14. data/lib/petitest/subscribers/json_report_subscriber.rb +38 -0
  15. data/lib/petitest/subscribers/progress_report_subscriber.rb +23 -0
  16. data/lib/petitest/subscribers/timer_subscriber.rb +26 -0
  17. data/lib/petitest/test_case.rb +125 -0
  18. data/lib/petitest/test_cases_runner.rb +58 -0
  19. data/lib/petitest/test_group.rb +51 -0
  20. data/lib/petitest/test_method.rb +25 -0
  21. data/lib/petitest/texts/base_text.rb +54 -0
  22. data/lib/petitest/texts/error_message_text.rb +20 -0
  23. data/lib/petitest/texts/errors_element_text.rb +54 -0
  24. data/lib/petitest/texts/errors_text.rb +45 -0
  25. data/lib/petitest/texts/failure_message_text.rb +20 -0
  26. data/lib/petitest/texts/failures_element_text.rb +54 -0
  27. data/lib/petitest/texts/failures_text.rb +45 -0
  28. data/lib/petitest/texts/filtered_backtrace_text.rb +20 -0
  29. data/lib/petitest/texts/raised_code_text.rb +48 -0
  30. data/lib/petitest/texts/test_case_result_character_text.rb +29 -0
  31. data/lib/petitest/texts/test_cases_result_margin_top_text.rb +24 -0
  32. data/lib/petitest/texts/test_cases_result_text.rb +45 -0
  33. data/lib/petitest/texts/test_counts_text.rb +96 -0
  34. data/lib/petitest/texts/times_text.rb +47 -0
  35. data/lib/petitest/version.rb +3 -0
  36. data/lib/petitest.rb +36 -0
  37. data/petitest.gemspec +24 -0
  38. metadata +108 -0
metadata ADDED
@@ -0,0 +1,108 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: petitest
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ryo Nakamura
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-03-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description:
42
+ email:
43
+ - r7kamura@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - CHANGELOG.md
50
+ - Gemfile
51
+ - LICENSE.txt
52
+ - README.md
53
+ - Rakefile
54
+ - lib/petitest.rb
55
+ - lib/petitest/assertion_failure_error.rb
56
+ - lib/petitest/assertion_failure_message.rb
57
+ - lib/petitest/assertions.rb
58
+ - lib/petitest/autorun.rb
59
+ - lib/petitest/configuration.rb
60
+ - lib/petitest/subscribers/base_subscriber.rb
61
+ - lib/petitest/subscribers/json_report_subscriber.rb
62
+ - lib/petitest/subscribers/progress_report_subscriber.rb
63
+ - lib/petitest/subscribers/timer_subscriber.rb
64
+ - lib/petitest/test_case.rb
65
+ - lib/petitest/test_cases_runner.rb
66
+ - lib/petitest/test_group.rb
67
+ - lib/petitest/test_method.rb
68
+ - lib/petitest/texts/base_text.rb
69
+ - lib/petitest/texts/error_message_text.rb
70
+ - lib/petitest/texts/errors_element_text.rb
71
+ - lib/petitest/texts/errors_text.rb
72
+ - lib/petitest/texts/failure_message_text.rb
73
+ - lib/petitest/texts/failures_element_text.rb
74
+ - lib/petitest/texts/failures_text.rb
75
+ - lib/petitest/texts/filtered_backtrace_text.rb
76
+ - lib/petitest/texts/raised_code_text.rb
77
+ - lib/petitest/texts/test_case_result_character_text.rb
78
+ - lib/petitest/texts/test_cases_result_margin_top_text.rb
79
+ - lib/petitest/texts/test_cases_result_text.rb
80
+ - lib/petitest/texts/test_counts_text.rb
81
+ - lib/petitest/texts/times_text.rb
82
+ - lib/petitest/version.rb
83
+ - petitest.gemspec
84
+ homepage: https://github.com/r7kamura/petitest
85
+ licenses:
86
+ - MIT
87
+ metadata: {}
88
+ post_install_message:
89
+ rdoc_options: []
90
+ require_paths:
91
+ - lib
92
+ required_ruby_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 2.1.0
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ requirements: []
103
+ rubyforge_project:
104
+ rubygems_version: 2.5.2
105
+ signing_key:
106
+ specification_version: 4
107
+ summary: A minimal solid testing framework for Ruby.
108
+ test_files: []