Quick question, have you implemented automated tes...
# sdf
e
Quick question, have you implemented automated testing in sdf or even in bundles? or do you usually just test manually your apps?
e
Yes I use
jest
to automatically unit test my own and company's customization projects, alongside manual testing.
e
Thanks @erictgrubaugh Do you happen to have an article to read more about this?
e
oof can't help but feel a little called out πŸ˜„ no, no article or video about it. but I've most recently been using this repository to tinker with some design patterns, and it has jest tests in it.
No automated CI connected to those unit tests, but you can use Github Actions or gitlab Pipelines or Circle CI to run your tests as well
πŸ‘Œ 1
I don't have any public examples of the latter
e
hahaha, this is really appreciated! it seems like a good starting point. Content about it would get you more traction , Just saying πŸ˜…
πŸ’― 1
e
Not really looking for traction these days
πŸ‘Œ 1
p
ive been busy with github actions and CI/CD these past weeks @eminero succesfully got it to work and yes some document/blog posts would have been welcome, but yeah Suitescript/SDF is super niche compared to other languages :p
e
Nice! @Philip Denys Do you mind sharing some insights/challenges you faced? What did you achieve it?
p
that’s a lot to pack in a thread here πŸ˜› basically you need to keep in mind that you are installing sdf on a separate linux env within github, so you need a github account and in the repo where you have your project you need to set your secrets and vars (these are the acces tokens you need to create in netsuite.) then you write a yaml file that runs the whole process. (just imagine what you need to have when you are doing a clean install of SDF 1. install node js 2. install java ...
now thinking of it maybe its best to write this stuff out πŸ˜„ because there a lot of steps to follow
e
haha great! let me know if you are welling to create a blog or public readme πŸ™Œ
r
I would also be interested in this