فهرست منبع

Run mutation testing in CI

Benjamin Sago 4 سال پیش
والد
کامیت
243143527b
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. 8 0
      .travis.yml

+ 8 - 0
.travis.yml

@@ -21,3 +21,11 @@ jobs:
         - rustup component add clippy
       script:
         - cargo clippy
+
+    - name: 'Rust: mutation testing'
+      rust: nightly
+      install:
+        - cargo install cargo-mutagen
+      script:
+        - cargo test    --package dns --features=dns/with_mutagen -- --quiet
+        - cargo mutagen --package dns --features=dns/with_mutagen