https://github.com/mchubby/ideaf_script_format
ideaf_script_format is a collection of RSpec test units validating parsed file structures. (Language: Ruby)
https://github.com/mchubby/ideaf_script_format
file-format reverse-engineering ruby
Last synced: 11 months ago
JSON representation
ideaf_script_format is a collection of RSpec test units validating parsed file structures. (Language: Ruby)
- Host: GitHub
- URL: https://github.com/mchubby/ideaf_script_format
- Owner: mchubby
- Created: 2013-12-03T23:49:30.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-03T23:54:49.000Z (about 12 years ago)
- Last Synced: 2024-12-31T03:12:30.392Z (about 1 year ago)
- Topics: file-format, reverse-engineering, ruby
- Language: Ruby
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# *ideaf_script_format*
*ideaf_script_format* is a collection of RSpec test units validating parsed file structures.
Input files are Otomate / Idea Factory's VM script format, which carry a `STCM2` or `STCM2L` header.
## Installation
Install dependencies to your ruby installation:
```
$ bundle
```
## Usage
To test on sample corpus (`spec/sample/*`):
```
$ bundle exec rspec
```
To test on custom input paths, set the `files` array in `rspec_runner.rb`, e.g.:
```ruby
files = Dir["C:/Users/Foobar/Documents/myworkdir/*.stcm*"].reject { |f| not File.file?(f) }
```
Then run the test suite:
```
$ bundle exec ruby rspec_runner.rb
```
## Disclaimer
No guarantee is made about accuracy of information. The specification is "mostly verified" statements
based on empirical observation.