-
Notifications
You must be signed in to change notification settings - Fork 1
Testing #1
Comments
it only does so when you do a push or a PR is issued by someone it will do a lint check |
Ah ok, thanks. |
It doesn't test it. Actually, I can't imagine how a plugin can be tested thoroughly automatically. Usually, an automatic run has minimal code coverage as it only detects syntax errors and errors upon startup. Not to mention there may not be enough configuration. Anyway, Poggit does not test plugins yet. It is a planned feature in Poggit 2.0 or Poggit 3.0, which may be very distant. However, Poggit still detects syntax errors in code, as well as some common bad practice in plugins. Planning to add more with the introduction of scanning through AST. |
@SOF3 it can test commands via console but not via player (as I have set up in the BoxCore Travis-CI script). If that can be implemented into poggit that would be great |
Requires quite an amount of infrastructural change to support testing. Meanwhile you can try to integrate Poggit with Travis-CI by waiting for a Poggit build on Travis-CI. But, meanwhile, again, please wait for release of Poggit's API to get a build's artifact 😛 |
Lol okay |
@SOF3 Is there a travis script made to work with poggit? |
@dog2puppy it's easy to create your own |
No need to have a provided script. |
I think Travis is really hard to make a script for. |
The opposite. It's easy |
I guess when I get home I'll try making one. The thing is, I barley know any Ternimal commands and that's what Travis uses, which makes it harder for me. |
Opps. Didn't mean to close. |
@Dog2puppy I'll do it, if u want me to, but I really don't see the point in it. Also, see discord |
It's not so simple if you want to use the particular build from Poggit, and wait for Poggit's build if Poggit has not completed it yet. |
Use the * |
??? |
also you can install specter to send commands via player but things will get tricky |
Specter does not test everything well. For example, if it's something network-level, and it doesn't test the protocol correctly... |
I've set it up with Poggit..... Does that just compile it, or does it also test it and report errors?
The text was updated successfully, but these errors were encountered: