keeptesting 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -43,6 +43,8 @@ TODO:
43
43
  =====
44
44
 
45
45
 
46
+
47
+
46
48
  LICENSE:
47
49
  ========
48
50
 
@@ -38,7 +38,7 @@ module Keeptesting
38
38
 
39
39
  def testrun(options)
40
40
  cmd = options[:test_command]
41
- test_output = `#{cmd}`
41
+ test_output = `#{cmd} 2>&1`
42
42
  test_succeeded = Keeptesting::Common::test_success?(test_output, options[:failure_regex])
43
43
  store_last_test_summary(test_succeeded, test_output)
44
44
  end
@@ -14,7 +14,7 @@ module Keeptesting
14
14
  puts "#{YELLOW_TEXT}RUNNING TESTS...#{RESET_TEXT}"
15
15
 
16
16
  cmd = options[:test_command]
17
- test_output = `#{cmd}`
17
+ test_output = `#{cmd} 2>&1`
18
18
  test_succeded = Keeptesting::Common::test_success?(test_output, options[:failure_regex])
19
19
  puts `clear`
20
20
  if test_succeded
@@ -1,3 +1,3 @@
1
1
  module Keeptesting
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -1,5 +1,6 @@
1
1
  require File.dirname(__FILE__) + '/test_helper.rb'
2
2
 
3
+
3
4
  class CalculatorTest < Test::Unit::TestCase
4
5
  context "a calculator" do
5
6
  should "add two numbers for the sum" do
data/todo.org ADDED
@@ -0,0 +1,22 @@
1
+ * improve web console
2
+ handle situation where test fails before have a time to get output?
3
+ raise error out side method def
4
+ what happens?
5
+ blank output in web
6
+ show error when backend is down
7
+ prettier html output
8
+ less chatty communication w. server, use websockets?
9
+ * improve overall interface
10
+ support simplified usage: keeptesting REGEX TEST_CMD
11
+ set defaults for common test frameworks
12
+ add options to constrain/exclude filetypes and paths
13
+ .keeptesting
14
+ enable dotfile for standard options
15
+ can just start with keeptesting w/o options
16
+ * test that everything works x-platform
17
+ * create proper documentation
18
+ website
19
+ great readme page with screencaptures and workflow examples
20
+ screencast
21
+ blog post - release announcement
22
+ * release 1.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keeptesting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-02 00:00:00.000000000Z
12
+ date: 2012-04-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: OptionParser
16
- requirement: &9947160 !ruby/object:Gem::Requirement
16
+ requirement: &17845380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *9947160
24
+ version_requirements: *17845380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: fssm
27
- requirement: &9946740 !ruby/object:Gem::Requirement
27
+ requirement: &17844900 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *9946740
35
+ version_requirements: *17844900
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sinatra
38
- requirement: &9946320 !ruby/object:Gem::Requirement
38
+ requirement: &17844460 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *9946320
46
+ version_requirements: *17844460
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: mocha
49
- requirement: &9945900 !ruby/object:Gem::Requirement
49
+ requirement: &17844020 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *9945900
57
+ version_requirements: *17844020
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: shoulda
60
- requirement: &9945480 !ruby/object:Gem::Requirement
60
+ requirement: &17843600 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *9945480
68
+ version_requirements: *17843600
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest
71
- requirement: &9945060 !ruby/object:Gem::Requirement
71
+ requirement: &17843160 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *9945060
79
+ version_requirements: *17843160
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: shoulda-context
82
- requirement: &9944640 !ruby/object:Gem::Requirement
82
+ requirement: &17842740 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *9944640
90
+ version_requirements: *17842740
91
91
  description: ! 'Usage: keeptesting [options] TESTCOMMAND'
92
92
  email:
93
93
  - thomas@kjeldahlnilsson.net
@@ -110,6 +110,7 @@ files:
110
110
  - lib/keeptesting/version.rb
111
111
  - test/test_helper.rb
112
112
  - test/test_keeptesting.rb
113
+ - todo.org
113
114
  - webconsole.rb
114
115
  homepage: https://github.com/thomanil/keeptesting
115
116
  licenses: []