flakyci_rspec 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +17 -7
- data/flakyci_rspec.gemspec +1 -1
- data/lib/flakyci_rspec.rb +1 -1
- data/lib/flakyci_rspec/environments/codeship.rb +1 -1
- metadata +2 -3
- data/lib/flakyci_rspec/formatter.rb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b23489299594f896558f0822dbc85d1f1e3f1474ac35f6767f9dec502f52fd0
|
|
4
|
+
data.tar.gz: c54a03f662d81740cf8303d006302a0dd7b4a1ae63091a2572a949125f935c40
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2221258390a4a63887c1c3c79e466255e0118e32ca6c383bbc576ca2cbbdcf4d5cc95888b320a7a026a1b852288742f944c4af0c53a979cd775b8a08d2634c6a
|
|
7
|
+
data.tar.gz: fcf1903be3655e7f346b6cbd37324f82a881d9e25fa153109a85ace702a1d1f14fcb2273e4070d41953a018bc17787fe19412e13f6768e874d4ae331d25addff
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# FlakyciRspec
|
|
2
2
|
|
|
3
|
-
Welcome to your new gem!
|
|
3
|
+
Welcome to your new gem!
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[FlakyCI](https://www.flakyci.com) helps you flight test flakiness.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -22,17 +22,27 @@ Or install it yourself as:
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
In order to use FlakyCI rspec you have to add FlakyciRspec to your formaters.
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
In `.rspec` file add this line
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
--format FlakyciRspec
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
You should set your FlakyCI project key in your enviroment variables.
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
FLAKYCI_KEY="YOUR FLAKYCI PROJECT KEY"
|
|
37
|
+
```
|
|
28
38
|
|
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
30
39
|
|
|
31
|
-
|
|
40
|
+
## Example
|
|
32
41
|
|
|
42
|
+
An example is available here https://github.com/flakyci/flakyci_rspec_example.
|
|
33
43
|
## Contributing
|
|
34
44
|
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
45
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/flakyci/flakyci_rspec.
|
|
36
46
|
|
|
37
47
|
|
|
38
48
|
## License
|
data/flakyci_rspec.gemspec
CHANGED
data/lib/flakyci_rspec.rb
CHANGED
|
@@ -33,7 +33,7 @@ class FlakyciRspec
|
|
|
33
33
|
line: location[1],
|
|
34
34
|
file: location[0],
|
|
35
35
|
status: example.execution_result.status,
|
|
36
|
-
|
|
36
|
+
duration: (example.execution_result.run_time * 1000).round
|
|
37
37
|
}
|
|
38
38
|
end
|
|
39
39
|
build = @env.get_env()
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flakyci_rspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- flakyci
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-04-
|
|
11
|
+
date: 2020-04-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -66,7 +66,6 @@ files:
|
|
|
66
66
|
- lib/flakyci_rspec/environments/gitlab.rb
|
|
67
67
|
- lib/flakyci_rspec/environments/local.rb
|
|
68
68
|
- lib/flakyci_rspec/environments/travis_ci.rb
|
|
69
|
-
- lib/flakyci_rspec/formatter.rb
|
|
70
69
|
homepage: https://www.flakyci.com/
|
|
71
70
|
licenses:
|
|
72
71
|
- MIT
|
|
File without changes
|