{"id":24738070,"url":"https://github.com/datanucleus/tests","last_synced_at":"2025-10-10T06:32:23.219Z","repository":{"id":12297470,"uuid":"14927016","full_name":"datanucleus/tests","owner":"datanucleus","description":"Test suites for DataNucleus using JDO, JPA, Jakarta and REST APIs","archived":false,"fork":false,"pushed_at":"2024-03-17T07:08:14.000Z","size":18559,"stargazers_count":9,"open_issues_count":4,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-03-27T01:42:48.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datanucleus.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-04T15:10:03.000Z","updated_at":"2023-06-02T16:56:20.000Z","dependencies_parsed_at":"2024-03-17T08:36:51.206Z","dependency_job_id":null,"html_url":"https://github.com/datanucleus/tests","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datanucleus%2Ftests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datanucleus%2Ftests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datanucleus%2Ftests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datanucleus%2Ftests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datanucleus","download_url":"https://codeload.github.com/datanucleus/tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235934726,"owners_count":19068724,"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":"2025-01-27T22:35:02.083Z","updated_at":"2025-10-10T06:32:16.481Z","avatar_url":"https://github.com/datanucleus.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"tests\n=====\n\nTest suites for testing DataNucleus using JDO, JPA and REST APIs.\n\nBuild \"framework\", \"framework.maven\" and \"samples\" first, then use the tests for the API in question.\n\nRaise issues in the GitHub issue tracker for this repository.\n\n\nRunning tests\n=============\n\nTests are run using [framework.maven][1] which is a custom maven plugin that allows the tests to be executed for different configurations e.g. optimistic, pessimistic. It will create several Maven Surefire executions dynamically to test different configurations. Some test projects also have more than one execution configured, allowing tests to be run for different identity types as well i.e. application or datastore.\n\nHere are few examples on how to run the tests:\n\n- Run all the executions and default configuration\n\u003emvn clean test\n\n- Run all the executions with optimistic and pessimistic configuration\n\u003emvn -Dtest.configs=optimistic,pessimistic clean test\n\nOn \"jdo/identity\" this will trigger 4 different executions, each configuration is run for each execution.\n\n- Run the CollectionTest, skipping \"application-identity\" execution and using optimistic configuration\n\u003emvn -Dtest=CollectionTest -Dtest.configs=optimistic -Dtest.application-identity.skip=true clean test\n\n- Run all the executions with optimistic using MySQL database\n\u003emvn -Pmysql -Dtest.configs=optimistic clean test\n\n## Database cleanup\n\nBefore running each test set execution the databased will be cleaned up automatically. This clean up can be skipped by setting `maven.datanucleus.test.skip.reset` property to `true`.\n\u003emvn -Pmysql -Dmaven.datanucleus.test.skip.reset=true clean test\n\n[1]: ../../tree/master/framework.maven\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatanucleus%2Ftests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatanucleus%2Ftests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatanucleus%2Ftests/lists"}