{"id":18209039,"url":"https://github.com/kdabir/roft","last_synced_at":"2025-04-07T20:25:31.323Z","repository":{"id":51155749,"uuid":"128711578","full_name":"kdabir/roft","owner":"kdabir","description":"Gradle plugin to Rerun Only Failed Tests","archived":false,"fork":false,"pushed_at":"2021-05-20T23:15:11.000Z","size":62,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T21:50:31.176Z","etag":null,"topics":["continuous-testing","gradle","plugin","test-driven-development"],"latest_commit_sha":null,"homepage":"https://plugins.gradle.org/plugin/com.kdabir.rerun-only-failed-tests","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kdabir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-09T03:51:25.000Z","updated_at":"2018-09-10T07:41:01.000Z","dependencies_parsed_at":"2022-09-08T08:03:21.425Z","dependency_job_id":null,"html_url":"https://github.com/kdabir/roft","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdabir%2Froft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdabir%2Froft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdabir%2Froft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdabir%2Froft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kdabir","download_url":"https://codeload.github.com/kdabir/roft/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247723494,"owners_count":20985372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["continuous-testing","gradle","plugin","test-driven-development"],"created_at":"2024-11-03T14:03:52.923Z","updated_at":"2025-04-07T20:25:31.283Z","avatar_url":"https://github.com/kdabir.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rerun only Failed Tests\n\n[![Build Status](https://travis-ci.org/kdabir/roft.svg?branch=master)](https://travis-ci.org/kdabir/roft)\n\nRuns only the failed tests from last run. This is especially important productivity boost when we have a very\nlarge test suite.\n\n### Usage\n\nApply the plugin to the project\n\n    plugins {\n        id \"com.kdabir.rerun-only-failed-tests\" version \"0.0.1\"\n    }\n\n  \nRun tests\n\n    $ gradle test\n\nIf there are failures the next `gradle test` would execute only the failed tests. Once those tests\npass, subsequent `gradle test` will run the entire test suite.\n\nCaveat: If we have introduced a test failure in another cases while fixing failed ones, it might go \nunnoticed since we are only running the part of test suite.  \n\n \n\n### Contributing\n\n1. Make Changes\n\n2. Add test coverage for changes\n\n3. Publish it to local maven repository using `gradle publishToMavenLocal` \n\n4. To consume the plugin built locally, add this to consuming project\n\n```\nbuildscript{\n    repositories { mavenLocal() }\n    dependencies { classpath \"com.kdabir.roft:roft:+\" }\n}\n\napply plugin: 'com.kdabir.rerun-only-failed-tests'\n\n```\n\n5. Once changes look good, Send a pull request\n\n\n#### Acknowledgement\n\nThis plugin is heavily inspired by the following StackOverflow [answer](https://stackoverflow.com/a/48826059/469414).\n \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdabir%2Froft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdabir%2Froft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdabir%2Froft/lists"}