magic_test 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 +4 -4
- data/Gemfile.lock +8 -1
- data/README.md +5 -1
- data/lib/magic_test/version.rb +1 -1
- data/magic_test.gemspec +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '018002a8e0f98d22658b7e76af5e9c94ea7ba4cb1647d8699c00ae0523eb33d0'
|
4
|
+
data.tar.gz: f4d346c347056d38fb8d239056795e1f1747ec543e11afba554e8ba9d65b81d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a543cac38f316380bee6f851a20feae0321980863f9d4aa60fd5e8d2b23fd4055eba82ca19711eb55489ad1ed72da28285f2c051450c13ab270b9b0fe9a6254d
|
7
|
+
data.tar.gz: c30e46631d0336d8730ee2b2264412b8565e93730383af4d41b5aa9427a767fae597d002e08588885ba32d6b70d0655231d3cb686ab28262e4a5b48cbce9798a
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
magic_test (0.1
|
4
|
+
magic_test (0.0.1)
|
5
5
|
capybara (~> 3.0)
|
6
6
|
pry
|
7
|
+
pry-stack_explorer
|
7
8
|
rails (~> 6.0)
|
8
9
|
|
9
10
|
GEM
|
@@ -70,6 +71,8 @@ GEM
|
|
70
71
|
zeitwerk (~> 2.3)
|
71
72
|
addressable (2.7.0)
|
72
73
|
public_suffix (>= 2.0.2, < 5.0)
|
74
|
+
binding_of_caller (1.0.0)
|
75
|
+
debug_inspector (>= 0.0.1)
|
73
76
|
builder (3.2.4)
|
74
77
|
capybara (3.35.3)
|
75
78
|
addressable
|
@@ -82,6 +85,7 @@ GEM
|
|
82
85
|
coderay (1.1.3)
|
83
86
|
concurrent-ruby (1.1.8)
|
84
87
|
crass (1.0.6)
|
88
|
+
debug_inspector (1.0.0)
|
85
89
|
erubi (1.10.0)
|
86
90
|
globalid (0.4.2)
|
87
91
|
activesupport (>= 4.2.0)
|
@@ -108,6 +112,9 @@ GEM
|
|
108
112
|
pry (0.14.0)
|
109
113
|
coderay (~> 1.1)
|
110
114
|
method_source (~> 1.0)
|
115
|
+
pry-stack_explorer (0.6.1)
|
116
|
+
binding_of_caller (~> 1.0)
|
117
|
+
pry (~> 0.13)
|
111
118
|
public_suffix (4.0.6)
|
112
119
|
racc (1.5.2)
|
113
120
|
rack (2.2.3)
|
data/README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
Magic Test allows you to write Rails system tests interactively through a combination of trial-and-error in a debugger session and also just simple clicking around in the application being tested, all without the slowness of constantly restarting the testing environment.
|
4
4
|
|
5
|
+
## Questions are Bugs!
|
6
|
+
|
7
|
+
Magic Test is still in early development, and that includes the documentation. Any questions you have that aren't already address in the documentation should be [opened as issues](https://github.com/bullet-train-co/magic_test/issues/new) so they can be appropriately addressed in the documentation.
|
8
|
+
|
5
9
|
## Installation
|
6
10
|
|
7
11
|
Magic Test currently requires your application to have jQuery enabled.
|
@@ -80,7 +84,7 @@ If you want to add an assertion that some content exists on the page, simply hig
|
|
80
84
|
|
81
85
|
### Flushing In Browser Actions and Assertions to the Test File
|
82
86
|
|
83
|
-
The interactive actions you make in your app are not automatically written to your test. When you are ready to write your actions out to the test, go to the terminal window and type `flush`. This will flush all your recent actions out to the test file. It’s still early days for Magic Test, so you may find you need to clean up some of the output. Please don’t hesitate to submit new issues highlighting these scenarios so we can try to improve the results.
|
87
|
+
The interactive actions you make in your app are not automatically written to your test. When you are ready to write your actions out to the test, go to the terminal window and type `flush`. This will flush all your recent actions out to the test file. It’s still early days for Magic Test, so you may find you need to clean up some of the output. Please don’t hesitate to [submit new issues](https://github.com/bullet-train-co/magic_test/issues/new) highlighting these scenarios so we can try to improve the results.
|
84
88
|
|
85
89
|
### Ambiguous Labels and Elements
|
86
90
|
|
data/lib/magic_test/version.rb
CHANGED
data/magic_test.gemspec
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
lib = File.expand_path("../lib", __FILE__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require "magic_test/version"
|
@@ -27,6 +26,7 @@ Gem::Specification.new do |spec|
|
|
27
26
|
spec.add_development_dependency "minitest", "~> 5.0"
|
28
27
|
|
29
28
|
spec.add_dependency "pry"
|
29
|
+
spec.add_dependency "pry-stack_explorer"
|
30
30
|
spec.add_dependency "capybara", "~> 3.0"
|
31
31
|
spec.add_dependency "rails", "~> 6.0"
|
32
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magic_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
@@ -67,6 +67,20 @@ dependencies:
|
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: pry-stack_explorer
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
70
84
|
- !ruby/object:Gem::Dependency
|
71
85
|
name: capybara
|
72
86
|
requirement: !ruby/object:Gem::Requirement
|