Could there be a section for documenting approaches to testing plugins #39
Replies: 8 comments
-
|
It’s early days, but I’ve started collecting links as I look around for info: Testing Plugins
|
Beta Was this translation helpful? Give feedback.
-
|
The sorts of content I’m thinking of include:
|
Beta Was this translation helpful? Give feedback.
-
|
Documentation on how to test your plugins would be a wonderful addition to the docs! You're way ahead of me here, so I'd definitely appreciate the help in distilling the resources to something that would be useful to most plugin authors! I didn't know about Spectron, but it seems really useful here! I might play around with it a bit. I'll read up on the resources you posted as well! |
Beta Was this translation helpful? Give feedback.
-
|
Thank you! One aim might be for there to be a fork of obsidianmd/obsidian-sample-plugin that has basic tests included, with the GitHub Action set up - so that people who wanted tests could start by forking that and extending it… |
Beta Was this translation helpful? Give feedback.
-
|
Just to note: I’ve asked on OMG Discord’s #plugin-dev channel if there’s anyone else who can add info… https://discord.com/channels/686053708261228577/840286264964022302/896790151353753610 |
Beta Was this translation helpful? Give feedback.
-
|
Hi Marcus, I’ve got a ton of info about testing plugins now. My writing skills are not up to yours, but I really want to share what I have learned. It may start off long and then get divided up. I offer it here or in the community hub. I would sketch out the headings and get feedback on the structure and location before doing the writing. I’d prefer it to go here, as more developers are like to land here. What do you think, would you accept it as a contribution? |
Beta Was this translation helpful? Give feedback.
-
|
Would definitely be up for that idea! Maybe open a pull request that we could collaborate on? |
Beta Was this translation helpful? Give feedback.
-
|
OK so my talk on this topic is in 6 days' time - so, current status: going through notes, trying to form some structure out of them. Will have to learn the formatting tool you use here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thank you for some awesome docs pages!
I’m an experienced developer with a background in depending on automatic tests to speed up development…
So as I start to learn JS, to start to write plugins, I’m naturally looking for guidance on writing automated tests as I go…
And I wondered whether you would be interested in seeing any techniques and tools documented here…
Beta Was this translation helpful? Give feedback.
All reactions