{"id":17194904,"url":"https://github.com/ajermakovics/eclipse-jmockit","last_synced_at":"2025-04-13T19:32:03.175Z","repository":{"id":3620587,"uuid":"4686319","full_name":"ajermakovics/eclipse-jmockit","owner":"ajermakovics","description":"JMockit plugin for Eclipse. Checks and auto-completes mock objects.","archived":false,"fork":false,"pushed_at":"2023-04-05T18:08:03.000Z","size":675,"stargazers_count":40,"open_issues_count":11,"forks_count":15,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-06T16:13:21.579Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ajermakovics.github.io/eclipse-jmockit/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajermakovics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-16T17:29:02.000Z","updated_at":"2022-09-04T16:03:07.000Z","dependencies_parsed_at":"2022-09-10T20:20:32.987Z","dependency_job_id":null,"html_url":"https://github.com/ajermakovics/eclipse-jmockit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajermakovics%2Feclipse-jmockit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajermakovics%2Feclipse-jmockit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajermakovics%2Feclipse-jmockit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajermakovics%2Feclipse-jmockit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajermakovics","download_url":"https://codeload.github.com/ajermakovics/eclipse-jmockit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248768001,"owners_count":21158569,"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-10-15T01:48:34.879Z","updated_at":"2025-04-13T19:32:02.715Z","avatar_url":"https://github.com/ajermakovics.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Eclipse plugin for JMockit\n--\n[Eclipse](http://www.eclipse.org) plugin that adds IDE support to [JMockit](http://jmockit.org). Provides mock method suggestions and performs static analysis to report API misuse.\n\n\nFeatures / Usage\n--\n1. Suggests methods to be mocked. ([example](https://github.com/ajermakovics/eclipse-jmockit-assist/raw/gh-pages/images/jmockit_eclipse_autocomplete.png))\n\t* Press Ctrl+Space inside a class extending `MockUp` or annotated with `@MockClass`. A list of mockable methods will appear.\n\n\n2. Reports warnings as-you-type if mocking API is not used correctly ([example](https://github.com/ajermakovics/eclipse-jmockit-assist/raw/gh-pages/images/jmockit_errors.png))\n\t* No corresponding real method for mocked method\n\t* Mock method calling itself but is not marked as 'reentrant'\n\t* `MockUp` used with interface but missing `getMockInstance()` call\n\t* Mock method missing `@Mock` annotation \n\t* and others\n\n3. Lets you jump to real method from mock method. Hold Ctrl (Cmd) over mock method name.\n\n4. Automatically adds JMockit jar as `-javaagent` argument to JUnit launches. [info](http://jmockit.org/gettingStarted.html)\n\n\nInstallation\n--\nIn Eclipse install using the [Marketplace Client](http://marketplace.eclipse.org/content/jmockit-eclipse) from the Help menu\n\nAlternatively you can use the Update site:\n - http://dl.bintray.com/ajermakovics/jmockit/1.0.1/ (Eclipse 4.5+)\n - http://dl.bintray.com/ajermakovics/jmockit/1.0.0/ (Pre 4.5)\n\nDevelopment\n--\n\nTo build run `mvn clean install` which will build the update site in `updatesite/target/repository/`. You can then install the plugin from that directory.\n\nTo develop you will need Eclipse (4.5+) with Plug-In Development Environment (PDE) installed:\n* Use File -\u003e Import -\u003e Existing Projects to import all projects from this repo\n* To run or debug right click on 'jmockit-plugin' project and select Run As -\u003e Eclipse Application\n\nTo use the plug-in in existing Eclipse installation do:\n* Right click on jmockit-plugin project, Export -\u003e Deployable plug-ins\n* Choose an existing Eclipse installation directory. Restart Eclipse\n\nLicense\n--\nEclipse Public License [1.0](http://www.eclipse.org/legal/epl-v10.html)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajermakovics%2Feclipse-jmockit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajermakovics%2Feclipse-jmockit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajermakovics%2Feclipse-jmockit/lists"}