{"id":21602785,"url":"https://github.com/codeintelligencetesting/road-smart","last_synced_at":"2025-07-02T07:06:38.387Z","repository":{"id":103042983,"uuid":"567005692","full_name":"CodeIntelligenceTesting/Road-Smart","owner":"CodeIntelligenceTesting","description":"An example Java App to show examples of unit, fuzz and component testing","archived":false,"fork":false,"pushed_at":"2023-07-07T21:56:44.000Z","size":81,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-18T13:35:52.714Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeIntelligenceTesting.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-16T21:44:53.000Z","updated_at":"2023-02-09T23:28:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"57627e7a-37de-455f-a6c2-aaa17601bfe8","html_url":"https://github.com/CodeIntelligenceTesting/Road-Smart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodeIntelligenceTesting/Road-Smart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeIntelligenceTesting%2FRoad-Smart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeIntelligenceTesting%2FRoad-Smart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeIntelligenceTesting%2FRoad-Smart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeIntelligenceTesting%2FRoad-Smart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeIntelligenceTesting","download_url":"https://codeload.github.com/CodeIntelligenceTesting/Road-Smart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeIntelligenceTesting%2FRoad-Smart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263091025,"owners_count":23412343,"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":[],"created_at":"2024-11-24T19:14:19.506Z","updated_at":"2025-07-02T07:06:38.359Z","avatar_url":"https://github.com/CodeIntelligenceTesting.png","language":"Java","readme":"# RoadSmart - An Example Java Application for Testing\n\n## Introduction\n\nRoadSmart is a command-line application used to provide information for major roads all over the world. While it could be helpful, it is also extremely buggy for a CLI app.\n\nThis is an application that can be used to show examples of unit, component and fuzz tests that find functional and security bugs in Java code.\n\nThis project is maintained by [Code Intelligence](https://code-intelligence).\n\n## Prerequisites\n\nThis project requires:\n\n- Java JDK 8+\n- Maven\n- [cifuzz CLI](https://github.com/CodeIntelligenceTesting/cifuzz#installation)\n\nand has been tested with IntelliJ (recommended) and VS Code.\n\nThis project uses [JUnit 5](https://junit.org).\n\n## Installation\n\nThis is a standard Maven Java project. You can get dependencies by running\n\n```bash\nmvn install\n```\n\n## Running the Application\n\nRoadSmart is a CLI application. You can currently run this in your IDE by running the `main` method in the Main class.\n\n## Tests\n\nThis is the interesting bit. Tests are located in the standard location of `src/test/java`. Currently, there are\n\n- Unit tests: these test functionality of various classes, and may be used for [test-driven development](https://en.wikipedia.org/wiki/Test-driven_development). These can be executed from your IDE directly or running `mvn test`.\n- Component Tests: _Coming soon!_\n- Fuzz Tests: These tests find possible security issues such as [SQL Injections](https://www.code-intelligence.com/blog/sql-injections). Fuzz tests may be executed using `cifuzz`, a CLI fuzz tool. More information can be found [here](https://github.com/CodeIntelligenceTesting/cifuzz).\n\n### Unit Tests\n\nTo run all unit tests, you can call\n```bash\nmvn test\n```\nfrom the command line or you can run tests individually in your IDE by clicking \"Run\" next to them.\n\n### Fuzz Tests\n\nTo run a single fuzz test, run the following from the root of the project:\n\n```bash\ncifuzz run \u003cname_of_fuzz_test_class\u003e\n```\n\nFor example, you can run\n```bash\ncifuzz run InformationDatabaseFuzzTest\n```\n\nto execute the fuzz test `InformationDatabaseFuzzTest`.\n\n## Pull Requests\n\nPull requests welcome!\n\nPlease read [CONTRIBUTING.md](./CONTRIBUTING.md) before submitting your pull requests.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeintelligencetesting%2Froad-smart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeintelligencetesting%2Froad-smart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeintelligencetesting%2Froad-smart/lists"}