magic_test 0.0.2 → 0.0.3

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
  SHA256:
3
- metadata.gz: '018002a8e0f98d22658b7e76af5e9c94ea7ba4cb1647d8699c00ae0523eb33d0'
4
- data.tar.gz: f4d346c347056d38fb8d239056795e1f1747ec543e11afba554e8ba9d65b81d4
3
+ metadata.gz: 055c3c03ddef0cb663a7ed2056b08c550285ff34b467e18225d971fa7f9fc8df
4
+ data.tar.gz: dad366cfa42271a6ab70654e10ef33395e5f2e3db6362f802fd811e897a82e19
5
5
  SHA512:
6
- metadata.gz: a543cac38f316380bee6f851a20feae0321980863f9d4aa60fd5e8d2b23fd4055eba82ca19711eb55489ad1ed72da28285f2c051450c13ab270b9b0fe9a6254d
7
- data.tar.gz: c30e46631d0336d8730ee2b2264412b8565e93730383af4d41b5aa9427a767fae597d002e08588885ba32d6b70d0655231d3cb686ab28262e4a5b48cbce9798a
6
+ metadata.gz: d95bf68163b3b91ee927958ba914e380f55e28324ae2546aaa6cd036c1bfe3d0295768f82a4f489ca2c14e8b57749e0292c7481dfdfde2e0e55fbbb835d8ddb5
7
+ data.tar.gz: ed563a867e518ceae203881b718d7637a3730d751bda506786e7b4549a95417202ba9d3ed3bf8a7c8472d72207a457017e73a513b478a032cebadb29166a09ea
data/README.md CHANGED
@@ -2,14 +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.
5
+ > 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
6
 
9
7
  ## Installation
10
8
 
11
- Magic Test currently requires your application to have jQuery enabled.
12
-
13
9
  Add this line to your application’s `Gemfile`:
14
10
 
15
11
  ```ruby
@@ -28,7 +24,7 @@ Next, run the install generator. If your application already includes jQuery, yo
28
24
  rails g magic_test:install
29
25
  ```
30
26
 
31
- (If your application doesn't include jQuery, you'll need to let Magic Test know to include it as needed. Just add `no` to the end of the line above or adjust your configuration afterward in `config/initializers/magic_test.rb`. We'll only inject jQuery when Magic Test is actively running. It will never show up on CI.)
27
+ > If your application doesn't include jQuery, you'll need to let Magic Test know to include it as needed. Just add `no` to the end of the line above or adjust your configuration afterward in `config/initializers/magic_test.rb`. We'll only inject jQuery when Magic Test is actively running. It will never show up on CI.
32
28
 
33
29
  With this we will:
34
30
 
@@ -37,7 +33,7 @@ With this we will:
37
33
 
38
34
  Finally, because it’s hard for us to do automatically, you will need to add the following before any closing `</head>` tags in any of the files in `app/views/layouts`:
39
35
 
40
- ```
36
+ ```ruby+erb
41
37
  <%= render 'magic_test/support' if Rails.env.test? %>
42
38
  ```
43
39
 
@@ -58,9 +54,8 @@ This results in three windows:
58
54
 
59
55
  If you have the screen real estate, we recommend organizing the three windows so you can see them all at the same time. This is the intended Magic Test developer experience.
60
56
 
61
- ### Using Magic Test in New or Existing Tests
62
-
63
- Just add a call to `magic_test` anywhere you want to start interactively developing test behavior and run the test the same way we've described above.
57
+ > #### Using Magic Test in New or Existing Tests
58
+ > Just add a call to `magic_test` anywhere you want to start interactively developing test behavior and run the test the same way we've described above.
64
59
 
65
60
  ### Writing Tests Manually in the Debugger Console
66
61
 
@@ -96,4 +91,4 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/bullet
96
91
 
97
92
  ## License
98
93
 
99
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
94
+ The Ruby Gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -88,6 +88,7 @@ module MagicTest
88
88
  empty_cache
89
89
  @test_lines_written = 0
90
90
  begin
91
+ # 👋 This isn't helpful context. Type `up` and hit enter to see where you really are.
91
92
  binding.pry
92
93
  rescue
93
94
  retry
@@ -1,3 +1,3 @@
1
1
  module MagicTest
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver