integra 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba28710f95525dfe85086db933f38d3e77819e4f
4
- data.tar.gz: 6c00e2048eb5bd4b3220c3a56ac8e59b32442740
3
+ metadata.gz: 5ab57b047463589dcfd550fcd362f59c62b3a106
4
+ data.tar.gz: a38e442a774b3d617dd7e31f583dd8c63c84fc80
5
5
  SHA512:
6
- metadata.gz: f3802a54d043b5e49e6361e8ef9ed9ebca279dd201328fb383ecf2e507d60e7c4d902b5875623fd25c16db14d6ed81603cb4b5e7d2d7ae7048d5454aea803af6
7
- data.tar.gz: 7549ca51fa1c1f5f386f57164ab8bc7ae8e6dbbebbacf6f0d26a531a7a7a7878ab333dad295b542b2cd0f71553c19e9e86ee88bf9275c3eeadba120f2cc5206f
6
+ metadata.gz: 88f6a51aecfe6e7f10f0adf87b868416fff308279bf09f21dbda1c22842c69aafd0da153c105c395a361f82adfe24428d9d804bd0414f9d2f0fe64d47d4784a5
7
+ data.tar.gz: 9f4a92ccb28deb13ad295ce499d6e19429883fb3b8bead1cad7a8047c29ff8494f058829baa475b75b70f271ae9b2dee309ad093a5404d28315eb7a7b68ed90c
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  A nice set of defaults for integration tests, no matter what language your
4
4
  application is written in.
5
5
 
6
- ## Requirements
6
+ ## System requirements
7
7
 
8
8
  - [ruby >= 1.9.2](http://rvm.io/)
9
9
  - [phantomjs](https://github.com/ariya/phantomjs)
@@ -21,18 +21,26 @@ Goto your project root and run the initializer:
21
21
  $ cd ~/Projects/my-nice-project/
22
22
  $ integra init localhost
23
23
 
24
+ Running the tests:
25
+
26
+ $ integra
27
+
28
+ Running the tests with a custom driver:
29
+
30
+ $ integra --driver=selenium
31
+
24
32
  For custom [gherkin](https://github.com/cucumber/gherkin) language support, use
25
33
  the `--lang=` option:
26
34
 
27
35
  $ integra init --lang=pt
28
36
 
29
- ## The defaults
37
+ ## Default toolset
30
38
 
31
- - [turnip](https://github.com/jnicklas/turnip/)
32
- - [turnip_formatter](https://github.com/gongo/turnip_formatter/)
33
- - [capybara](https://github.com/jnicklas/capybara)
34
39
  - [rspec](https://github.com/rspec/rspec)
40
+ - [capybara](https://github.com/jnicklas/capybara)
35
41
  - [poltergeist](https://github.com/jonleighton/poltergeist)
42
+ - [turnip](https://github.com/jnicklas/turnip/)
43
+ - [turnip_formatter](https://github.com/gongo/turnip_formatter/)
36
44
 
37
45
  ## Contributing
38
46
 
@@ -25,17 +25,19 @@ module Integra
25
25
  data.gsub!('{app_host}', Integra.config.app_host.to_s)
26
26
  f.write(data)
27
27
  end
28
- Integra.logger.action('create', "./.#{file}")
28
+ Integra.logger.action('create', ".#{file}")
29
29
  end
30
30
 
31
31
  # Create 'features' and 'support' directories
32
32
  FileUtils.mkdir_p(File.expand_path('./features/support/'))
33
+ FileUtils.mkdir_p(File.expand_path('./features/reports/'))
34
+ Integra.logger.action('create', 'features/reports/')
33
35
 
34
36
  # Sample feature
35
37
  FileUtils.cp(Integra.gem_libdir + "/template/i18n/sample.#{Integra.config.lang}.feature", File.expand_path('./features/sample.feature'))
36
- Integra.logger.action('create', './features/sample.feature')
38
+ Integra.logger.action('create', 'features/sample.feature')
37
39
 
38
- support_dest = './features/support/'
40
+ support_dest = 'features/support/'
39
41
  Dir.glob(Integra.gem_libdir + "/template/features/support/*.rb").each do |source|
40
42
  unless File.exists?(File.expand_path("#{support_dest}#{File.basename(source)}"))
41
43
  FileUtils.cp(source, File.expand_path(support_dest))
@@ -1,6 +1,6 @@
1
1
  --default_path features
2
2
  --color
3
3
  --format progress
4
- --format documentation -o tmp/integration.txt
5
- --format RSpecTurnipFormatter -o tmp/integration.html
4
+ --format documentation -o features/reports/integration.txt
5
+ --format RSpecTurnipFormatter -o features/reports/integration.html
6
6
 
@@ -1,4 +1,4 @@
1
1
  module Integra
2
2
  NAME = 'integra'
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: integra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Endel Dreyer