Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.42 KB

CONTRIBUTING.md

File metadata and controls

46 lines (30 loc) · 1.42 KB

Contributing

Writing code

cd Tests
make open

All changes to Mixbox are made inside that project.

Testing

Testing is practically impossible on a local machine. It takes several hours to test everything on a local machine.

You can run specific tests. There are BlackBoxTests, GrayBoxTests and UnitTests. Choose a target and run specific tests.

To test compilation of whole project, run linter and unit tests, choose BuildLintAndUnitTest, it is a good way to check your changes before making a pull request. Unit tests take few seconds to run.

Writing CI

cd ci/swift
make open

Project will be opened if not open or saved and reopened.

Write code in Xcode, run tests and you are okay to make a pull request.

Pull request process

There's none at the moment. There was one pull request from community and I just saw it, run tests in our private CI and merged it by myself via private CI. We have no plans to make public CI, because it is hard. We have hundreds of mac minis in our company and all tests are executing for few minutes on all mac minis. We can't make them public.

Updating Mixbox to support new Xcode

See documentation for dump.py

  • See and understand dump.py
  • Run it for new Xcode
  • Run BuildLintAndUnitTest scheme in Tests project.
  • Fix all compilation errors
  • Fix all unit tests