Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop locking cargo mutants #115

Closed
wants to merge 4 commits into from
Closed

Stop locking cargo mutants #115

wants to merge 4 commits into from

Conversation

cljoly
Copy link
Owner

@cljoly cljoly commented Dec 6, 2023

Newer versions now build on the codebase.

Newer versions now build on the codebase.
Copy link

github-actions bot commented Dec 6, 2023

Coverage Status

coverage: 92.401%. remained the same
when pulling 3184066 on cljoly-patch-1
into f5d3b8d on master.

@cljoly
Copy link
Owner Author

cljoly commented Dec 6, 2023

Found a number of mutants to fix

Unmutated baseline ... ok in 24.2s build + 4.0s test
Auto-set test timeout to 20.0s
rusqlite_migration/src/loader.rs:29:5: replace get_migrations -> Result<(&'static str, Option<&'static str>)> with Ok(("xyzzy", Some("xyzzy"))) ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/builder.rs:46:15: replace < with > in MigrationsBuilder<'u>::edit ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/builder.rs:46:15: replace < with == in MigrationsBuilder<'u>::edit ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/loader.rs:29:5: replace get_migrations -> Result<(&'static str, Option<&'static str>)> with Ok(("", Some("xyzzy"))) ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/errors.rs:51:48: replace == with != in <impl PartialEq for Error>::eq ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/lib.rs:439:24: replace && with || in Migrations<'m>::db_version_to_schema ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/builder.rs:62:9: replace <impl FromIterator for MigrationsBuilder<'u>>::from_iter -> Self with Default::default() ... NOT CAUGHT in 1.3s build + 4.0s test
rusqlite_migration/src/loader.rs:29:5: replace get_migrations -> Result<(&'static str, Option<&'static str>)> with Ok(("", Some(""))) ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/errors.rs:48:74: replace == with != in <impl PartialEq for Error>::eq ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/errors.rs:50:57: replace == with != in <impl PartialEq for Error>::eq ... NOT CAUGHT in 1.3s build + 4.0s test
rusqlite_migration/src/loader.rs:29:5: replace get_migrations -> Result<(&'static str, Option<&'static str>)> with Ok(("xyzzy", Some(""))) ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/loader.rs:29:5: replace get_migrations -> Result<(&'static str, Option<&'static str>)> with Ok(("", None)) ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/builder.rs:34:9: replace MigrationsBuilder<'u>::from_directory -> Result<Self> with Ok(Default::default()) ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/errors.rs:46:85: replace == with != in <impl PartialEq for Error>::eq ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/loader.rs:29:5: replace get_migrations -> Result<(&'static str, Option<&'static str>)> with Ok(("xyzzy", None)) ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/errors.rs:45:33: replace == with != in <impl PartialEq for Error>::eq ... NOT CAUGHT in 1.3s build + 4.0s test
rusqlite_migration/src/loader.rs:94:5: replace from_directory -> Result<Vec<Option<M<'static>>>> with Ok(vec![]) ... NOT CAUGHT in 1.3s build + 3.9s test
rusqlite_migration/src/lib.rs:76:9: replace <impl Debug for Box<dyn MigrationHook>>::fmt -> fmt::Result with Ok(Default::default()) ... NOT CAUGHT in 1.3s build + 3.9s test
115 mutants tested in 3:56: 18 missed, 56 caught, 41 unviable

@cljoly cljoly marked this pull request as draft December 6, 2023 04:44
@cljoly cljoly marked this pull request as ready for review December 6, 2023 04:44
@cljoly cljoly marked this pull request as draft December 6, 2023 04:44
@cljoly cljoly closed this Dec 7, 2023
@cljoly cljoly deleted the cljoly-patch-1 branch December 7, 2023 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant