keeptesting 0.5.3 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/lib/keeptesting/version.rb +1 -1
  2. data/todo.org +17 -6
  3. data/webconsole.html +34 -10
  4. metadata +14 -14
@@ -1,3 +1,3 @@
1
1
  module Keeptesting
2
- VERSION = "0.5.3"
2
+ VERSION = "0.6.0"
3
3
  end
data/todo.org CHANGED
@@ -1,13 +1,24 @@
1
1
  * improve web console
2
2
  ** show error when backend is down
3
- ** prettier html output
3
+ ** stop sinatra from dumping internal stuff to stdout
4
+ ** make sure it looks ok in IE6,7,8
5
+ ** test offline, add local copy of jquery, cut cdn dep
4
6
  * swap out fssm w/ guard/listen
5
7
  ** fssm is dead!
8
+ * fix cli interface
9
+ ** handle multiple options on same dash (-cd..)
10
+ ** if no paths given, use */** by default
11
+ ** ... test more combinations of options
6
12
  * test that everything works x-platform
7
13
  * final code cleanup
8
- * create proper documentation
9
- ** website
10
- ** great readme page with screencaptures and workflow examples
11
- ** screencast
12
- ** blog post - release announcement
14
+ ** add tests?
15
+ ** make super easy to follow structure
16
+ * proper documentation
17
+ ** great readme
18
+ *** redgreen nice-typeface logo
19
+
20
+ *** screenshots
21
+ *** link to screencast (if not embeddable in markdown)
22
+ *** user documentation
23
+ *** call for pull requests + developer guideline/doc
13
24
  * release 1.0
@@ -17,16 +17,38 @@
17
17
  .yellow {
18
18
  background-color: #FFCB3B;
19
19
  }
20
+ h1 {
21
+ -webkit-border-radius: 7px;
22
+ -moz-border-radius: 7px;
23
+ border-radius: 7px;
24
+ background-color: white;
25
+ margin: 50px 50px 50px 50px;
26
+ padding: 20px 20px 20px 20px;
27
+ background-color: white;
28
+ background-color: rgba(255,255,255,0.5);
29
+ font-family: Helvetica, Georgia;
30
+ }
31
+ #test-output {
32
+ -webkit-border-radius: 7px;
33
+ -moz-border-radius: 7px;
34
+ border-radius: 7px;
35
+ margin: 50px 50px 50px 50px;
36
+ padding: 20px 20px 20px 20px;
37
+ background-color: white;
38
+ background-color: rgba(255,255,255,0.5);
39
+ font-family: sans-serif;
40
+ }
20
41
  </style>
21
42
 
22
- <h1>Starting up!</h1>
23
-
43
+ <h1>Starting</h1>
44
+
24
45
  <div id="test-output">
25
- Waiting for first test result...
46
+ Waiting for first test result...
26
47
  <div>
27
48
 
49
+
28
50
  <script>
29
- var showLastTest = function(){
51
+ var showLastTest = function(){
30
52
  $.get("/latest-test-json", function(data) {
31
53
  var header = $("h1");
32
54
  var last_test = data;
@@ -35,22 +57,24 @@ var showLastTest = function(){
35
57
  var result = last_test.result;
36
58
 
37
59
  header.html(result);
60
+ var test_output = last_test.output;
61
+ test_output_div.html("<pre>"+test_output+"</pre");
62
+
38
63
  body.removeClass("red green yellow")
39
64
 
40
65
  if(result.match(/Success/)){
41
66
  body.addClass("green");
42
67
  }
43
68
 
44
- if(result.match(/Running/)){
45
- body.addClass("yellow");
46
- }
47
-
48
69
  if(result.match(/Failure/)){
49
70
  body.addClass("red");
50
71
  }
72
+
73
+ if(result.match(/Running/)){
74
+ body.addClass("yellow");
75
+ test_output_div.html("Waiting for result...");
76
+ }
51
77
 
52
- var test_output = last_test.output;
53
- test_output_div.html("<pre>"+test_output+"</pre");
54
78
  }, "json");
55
79
  };
56
80
 
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.5.3
4
+ version: 0.6.0
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-24 00:00:00.000000000Z
12
+ date: 2012-04-25 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fssm
16
- requirement: &16196940 !ruby/object:Gem::Requirement
16
+ requirement: &13409400 !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: *16196940
24
+ version_requirements: *13409400
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sinatra
27
- requirement: &16194240 !ruby/object:Gem::Requirement
27
+ requirement: &13406720 !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: *16194240
35
+ version_requirements: *13406720
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: mocha
38
- requirement: &16193820 !ruby/object:Gem::Requirement
38
+ requirement: &13406300 !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: :development
45
45
  prerelease: false
46
- version_requirements: *16193820
46
+ version_requirements: *13406300
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: minitest
49
- requirement: &16193360 !ruby/object:Gem::Requirement
49
+ requirement: &13405840 !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: *16193360
57
+ version_requirements: *13405840
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: shoulda
60
- requirement: &16192880 !ruby/object:Gem::Requirement
60
+ requirement: &13405360 !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: *16192880
68
+ version_requirements: *13405360
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: shoulda-context
71
- requirement: &16192440 !ruby/object:Gem::Requirement
71
+ requirement: &13404920 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *16192440
79
+ version_requirements: *13404920
80
80
  description: ! 'Usage: keeptesting [options] TESTCOMMAND'
81
81
  email:
82
82
  - thomas@kjeldahlnilsson.net