https://github.com/trailblazer/trailblazer-core-utils
Utilities and classes for core developers.
https://github.com/trailblazer/trailblazer-core-utils
Last synced: 5 months ago
JSON representation
Utilities and classes for core developers.
- Host: GitHub
- URL: https://github.com/trailblazer/trailblazer-core-utils
- Owner: trailblazer
- Created: 2022-12-13T10:28:08.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-03-27T14:21:53.000Z (7 months ago)
- Last Synced: 2025-05-07T20:41:58.831Z (5 months ago)
- Language: Ruby
- Size: 32.2 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Trailblazer::Core::Utils
## Convert Activity tests to Operation tests
In order to show users both `Activity` and `Operation` tests, we have a converter.
This implies converted tests are written in a specific style.We currently don't use a `bin/` command.
```ruby
require "trailblazer/core"
Trailblazer::Core.convert_operation_test("test/docs/model_test.rb")
Trailblazer::Core.convert_operation_test("test/docs/each_test.rb")
```