Sign inGet started
Dataset · Hugging Face

andstor/methods2test

Dataset Description Microsoft created the methods2test dataset, consisting of Java Junit test cases with its corresponding focal methods. It contains 780k pairs of JUnit test cases and focal methods which were extracted from a total of 91K Java open source project hosted on GitHub. This is an assembled version of the methods2test dataset. It provides convenient access to the different context levels based on the raw source code (e.g. newlines are preserved). The test cases and… See the full description on the dataset page: https://huggingface.co/datasets/andstor/methods2test.

Author / organizationandstor
License (as declared)mit
Downloads417 (as reported by Hugging Face)
Likes0
Created7 December 2023
Last updated at source23 December 2023
unit testjavacode
Embed this entry
<iframe src="https://silytics.si/embed/item/6691c476-dbf5-458f-870c-ce7b7965a9d3" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

More from andstor

Silytics shows public metadata from Hugging Face and links to the original. Information may be incomplete or out of date. Last refreshed 16 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.