Skip to content

Commit

Permalink
Добавил Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Iurii Sorokin authored and Iurii Sorokin committed Dec 6, 2021
1 parent f4fb388 commit db35f8c
Showing 1 changed file with 43 additions and 2 deletions.
45 changes: 43 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,43 @@
# mutanus
Performs mutation testing of your Swift project
# Mutanus
Command line tool written in Swift dedicated to perform Mutation Testing of your Swift project.
Inspired by [Muter](https://github.com/muter-mutation-testing/muter)

# Usage

```
mutanus -c <path-to-config>
```

- Required

- **executable** - used for builing your project
- **arguments** - array of executable arguments to run tests of your project

- Optional

- **project_path** - path to the root of your project. Current directory is used if not present
- **source_paths** - array of relative to **project_path** paths of files or/and folders. Listed sources are used for mutants search. All files in **project_path** are used if not present



```json
{
"executable": "/usr/bin/xcodebuild",
"arguments": [
"test",
"-workspace",
"MyWorkspace.xcworkspace",
"-scheme",
"MyScheme",
"-destination",
"platform=iOS Simulator,name=iPhone 8",
"SWIFT_TREAT_WARNINGS_AS_ERRORS=NO",
"GCC_TREAT_WARNINGS_AS_ERRORS=NO"
],
"project_path": "<path-to-project>",
"source_paths": [
"<path-to-first-souce-file>",
"<path-to-second-souce-file>"
]
}
```

0 comments on commit db35f8c

Please sign in to comment.