You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case the `develop` branch is ahead of the `master` branch and the `develop` branch is stabile enough, we periodically merge it into the `master`.
3
+
In case the `develop` branch is ahead of the `master` branch and the `develop` branch is stable enough, we periodically merge it into the `master`.
4
4
5
5
In order to contribute new or updated documentation, you must first create a GitHub account and fork the original repository to your own account. You can make changes, save them in your repository and then create a pull request against this repository.
6
6
7
7
Unless you are opening a pull request which only makes small corrections (for instance correcting a typo), you are more likely to get traction for your changes if you open an issue first to discuss the proposed changes.
8
8
9
-
**IMPORTANT** If you want to create a pull request, please work based on the `develop` branch - so we don't have to rebase it...
9
+
**IMPORTANT** If you want to create a pull request, please work based on the most recent `develop` branch - so we don't have to rebase it...
10
10
11
11
If you are reading this page, you are possibly interested in contributing to our project 😄 . We have an active (and friendly) developer group and would love to get your help! Some common ways you can support us are:
12
12
13
13
* Testing the code
14
-
*Filing issues on GitHub, if you see a problem (or adding detail to existing issues that effect you)
14
+
*Reporting issues on GitHub, if you see a problem (or adding detail to existing issues that also affect you)
15
15
* Fixing issues 😁
16
16
* Adding new features
17
-
* Reviewing existing pull requests and possibly also contributing to them.
18
-
*Translation. Always a good idea...
17
+
* Reviewing existing pull requests and possibly also contributing to them
18
+
*Translations are always a good idea...
19
19
20
20
## How to make a good bug report
21
21
22
22
Submit according to the bug report form. Attach the debug log if necessary. [Read more here!](https://open-smartwatch.github.io/howto/contribute/#how-to-open-an-issue)
23
23
24
24
## Submitting patches
25
25
26
-
Please also see our [wiki](https://open-smartwatch.github.io/howto/contribute/) article for that.
26
+
Please also see our [wiki](https://open-smartwatch.github.io/howto/contribute/) article for that.
After making some changes to the code, you should test the application by running our unit and UI tests.
152
+
153
+
Note: our tests do not cover 100% of the application. If you want to see which parts are covered by tests take a look at `emulator/src/unitTests` and `emulator/src/uiTests`.
154
+
155
+
### Unit tests
156
+
Run all unit tests:
157
+
```bash
158
+
$ ./emulator.run --unit_tests
159
+
```
160
+
List all unit tests, one per line:
161
+
```bash
162
+
$ ./emulator.run --list_tests
163
+
```
164
+
165
+
### UI tests
166
+
Run the emulator with UI tests window:
167
+
```bash
168
+
$ ./emulator.run --ui_tests
169
+
```
170
+
171
+
***IMPORTANT**: If you add some new features, it is strongly recommended to write unit and UI tests for them.*
172
+
150
173
## License
151
174
Everything in this repository is under a GPL-3.0 license, see [here](./LICENSE) for more details.
Copy file name to clipboardExpand all lines: docs/firmware/getting_started.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
3
3
This page describes which software you'll need and how to manually flash the firmware.
4
4
5
+
!!! note "Tip"
6
+
In case you won't or can't compile the (latest) firmware yourself, you can download the latest pre-compiled firmware from the [releases page](https://github.com/Open-Smartwatch/open-smartwatch-os/releases) (in case we did not forget to upload it there). In case you want to take a look into what is coming with the next release, checkout the [GitHub Actions](https://github.com/Open-Smartwatch/open-smartwatch-os/actions) (you have to login to download anything). To then flash the firmware to the watch use something like the [ESPHome Flasher](https://github.com/esphome/esphome-flasher), be aware that this flasher will also erase the watches memory every time! An alternative (although not tested) would be the [NodeMCU Flasher](https://github.com/marcelstoer/nodemcu-pyflasher).
7
+
5
8
## Required Software
6
9
7
10
-[GIT](https://git-scm.com)
@@ -39,7 +42,10 @@ If you have cloned the repo without the recurse option, run `git submodule updat
39
42
40
43
!!! note "Tip"
41
44
After changing or updating/pulling a branch, run the command again to also update dependencies:
0 commit comments