The following are the guidelines, everyone should use to contribute to DUnitX.
Changes are welcome from all members of the Delphi Community.
- Create a GitHub Account.
- Fork the DUnitX Repository and setup your local Repository.
- Each of of the steps below are detailed How to Fork article!
- Clone your Fork to your local machine.
- Configure "upstream" remote to the master DUnitX repository.
- For each change you want to make:
- Create a new branch for your change.
- Make your change in your new branch.
- Although changes can be made in the master branch, it easier long term if a new branch is used.
- Verify code compiles and unit tests still pass.
- The quickest way to have a Pull Request not be accepted, is to submit code that does not compile or pass tests.
- Commit change to your local repository.
- Push change to your remote repository
- Submit a Pull Request.
- Note: local and remote branches can be deleted after pull request has been accepted.
Note: Getting changes from others requires Syncing your Local repository with Master DUnitX repository. This can happen at any time.
The following both are required to run the Unit Tests on DUnitX itself.
- Delphi-Mocks.
- Delphi XE2 or later (Required by Delphi-Mocks)
If you are new to GIT here are some links to help you with understanding how it works.
A Delphi Praxis forum has been setup to discuss DUnitX. It's a great place to get feedback on your changes if desired before submitting them as a pull request.