lopata 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -0
- data/exe/lopata +1 -1
- data/lib/lopata/rspec/version.rb +1 -1
- data/lib/lopata/runner.rb +4 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e26df680a41e14c87ded9047e26c6c938c145217
|
4
|
+
data.tar.gz: df8407c48848524675f24e2bea098e50feb5794c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 891bc34971a2fe31c6e34539f5cf59f573b6c80280ce02c6fac4fd3552448f1f504f3747414369678396fffe550f3e47284df496a8503c3a995ace5759d6b472
|
7
|
+
data.tar.gz: 3df4ad38a579aa16eaaf2d5ccc5737388e74489d97ac928a07f862a4c9c826beefb930413025e0c805aac919850184b0039710ec2db77d7b38da0666bd1910e1
|
data/README.md
CHANGED
@@ -1,2 +1,22 @@
|
|
1
1
|
# Lopata - functional acceptance testing
|
2
2
|
|
3
|
+
Motivation: use RSpec for functional testing.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
gem install lopata
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
Create new lopata project:
|
12
|
+
|
13
|
+
lopata new <project-name>
|
14
|
+
|
15
|
+
Setup environment: edit <project-name>/config/environments/qa.yml for setup project for testing.
|
16
|
+
|
17
|
+
Write tests: puts RSpec tests in <project-name>/spec folder.
|
18
|
+
|
19
|
+
Run tests:
|
20
|
+
|
21
|
+
cd <project-name>
|
22
|
+
lopata
|
data/exe/lopata
CHANGED
data/lib/lopata/rspec/version.rb
CHANGED
data/lib/lopata/runner.rb
CHANGED
@@ -35,6 +35,8 @@ module Lopata
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
|
39
|
-
|
38
|
+
unless ARGV.first == 'new'
|
39
|
+
raise 'No Lopatafile found in running dir' unless File.exists?('./Lopatafile')
|
40
|
+
eval File.binread('./Lopatafile')
|
41
|
+
end
|
40
42
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lopata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Volochnev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -62,7 +62,7 @@ files:
|
|
62
62
|
- lib/lopata/rspec/role.rb
|
63
63
|
- lib/lopata/rspec/version.rb
|
64
64
|
- lib/lopata/runner.rb
|
65
|
-
homepage:
|
65
|
+
homepage: https://github.com/avolochnev/lopata
|
66
66
|
licenses:
|
67
67
|
- MIT
|
68
68
|
metadata: {}
|
@@ -85,5 +85,5 @@ rubyforge_project:
|
|
85
85
|
rubygems_version: 2.2.5
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
|
-
summary: lopata-0.0.
|
88
|
+
summary: lopata-0.0.4
|
89
89
|
test_files: []
|