fixture_kit 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/fixture_kit/rspec.rb +1 -1
- data/lib/fixture_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad45a151930afb73f5c8ba3f22a93536046fa783d240ea703c248e5329d6ceae
|
|
4
|
+
data.tar.gz: fdcf019b31154c187c5057df7990647e2102c173cc6310236866202d549e846c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73e72901b28d7f55c7714cbb581b3fa4703533968d23b20c6d0e010be4001a7cc39655ad56726f125d7b655a9ad94ff770735a72eef54a50041b9f21a81511fd
|
|
7
|
+
data.tar.gz: b104a22228a595e9cac03e8facb58ca9174b62d22d15cb347b4fd9ef6c5fb11de1187b3d05c1c8cd9bd71ae0b417d965e1af436a0c4af9efdd6f4f06e75649ba
|
data/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# FixtureKit
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Fixture-level performance without giving up FactoryBot-style test setup.
|
|
4
|
+
|
|
5
|
+
Rails fixtures are very performant. But in large companies with hundreds of models and varying Rails familiarity, maintaining a well-manicured garden of YAML files quickly becomes unrealistic.
|
|
6
|
+
|
|
7
|
+
Teams reach for tools like FactoryBot to simplify test setup and keep things readable. The tradeoff is performance. FixtureKit gives you the speed wins while letting you keep the test setup tooling your teams already use, by generating and caching fixture data on-demand.
|
|
4
8
|
|
|
5
9
|
- Full documentation (guides): [GitHub Wiki](https://github.com/Gusto/fixture_kit/wiki)
|
|
6
10
|
- API/reference (canonical): [docs/reference.md](docs/reference.md)
|
data/lib/fixture_kit/rspec.rb
CHANGED
|
@@ -52,7 +52,7 @@ module FixtureKit
|
|
|
52
52
|
FixtureKit.runner.configuration.adapter(FixtureKit::RSpecAdapter)
|
|
53
53
|
|
|
54
54
|
config.extend ClassMethods
|
|
55
|
-
config.include InstanceMethods
|
|
55
|
+
config.include InstanceMethods
|
|
56
56
|
|
|
57
57
|
# Load declared fixtures at the beginning of each example.
|
|
58
58
|
# Runs inside transactional fixtures and before user-defined before hooks.
|
data/lib/fixture_kit/version.rb
CHANGED