scribe-org / Scribe-iOS

iOS app with keyboards for language learners
https://apps.apple.com/app/scribe-language-keyboards/id1596613886
GNU General Public License v3.0
113 stars 71 forks source link

Create functional testing files and ci process #8

Open andrewtavis opened 2 years ago

andrewtavis commented 2 years ago

Terms

Issue

Testing for Scribe and a continuous integration process would be very helpful to assure that pull requests can merged without issue. Discussions of best practices as well as how best to integrate the process into pull requests would be a first step in this issue. This would be followed by writing tests for a baseline, and then adding a ci.yml file to a workflows directory in Scribe-iOS/.github.

andrewtavis commented 2 years ago

The issues with Scribe not functioning as on Simulator means that testing should be a priority, potentially even for the next release. Specifically #96 seems difficult to test for on Simulator. One option going forward would be to integrate a device testing service like Browserstack, which is available free for open source. There's also the ability to add GitHub Actions integration, which then could function as a part of the general CI process.

SaurabhJamadagni commented 1 year ago

Currently reviewing the following documentation @andrewtavis. Docs:

Articles:

Will have a brief summarisation by EOD. Also, checking out Browserstack. Thank you for creating all the issues šŸ˜„ šŸš€

andrewtavis commented 1 year ago

Youā€™re welcome for the issues, @SaurabhJamadagni! We can talk tomorrow if more are needed šŸ˜šŸ˜…šŸ˜Š

And thanks for looking into all this :) Iā€™ll assign the both of us for research and implementation šŸ™ƒ

SaurabhJamadagni commented 1 year ago

Hey @andrewtavis, sorry for the delay but here's a brief summarisation of the basics from the articles and docs:

I came across a library known as Nimble, which is apparently popular for asserting instead of the standard XCAssert functions. Going through it and will check if there are any advantages to using it over the native functions.

andrewtavis commented 1 year ago

Thanks, @SaurabhJamadagni! Will read into this all a bit when Iā€™m back šŸ˜ŠšŸ˜Š