boakley / robotframework-hub

Web app for accessing robot framework assets
https://github.com/boakley/robotframework-hub/wiki
Apache License 2.0
169 stars 60 forks source link

rfhub should ignore __init__.robot #28

Open boakley opened 10 years ago

boakley commented 10 years ago

When you point rfhub at a folder that has both test cases and resource files, it will attempt to scan any .robot file that has a keyword table. It should ignore files named init.robot since that name is almost certainly not a resource file.

yanne commented 10 years ago

This probably should be done in kwdb right? Since I can imagine wanting to view (and possibly even edit) the test case files via hub, in which case there should also be option to get all test case and resource files

boakley commented 10 years ago

I haven't decided exactly how to handle this. Yes, eventually I want to be able to edit test cases. I want to keep the /keyword api, and probably add /testcase to get test cases. There will probably be a third api for retrieving all files in a project.

I want to get rid of or refactor kwdb at some point. That is an artifact from an earlier project that I repurposed just so I could get up to speed quickly. What we need is a well designed database structure that handles more than just keywords. I haven't had time to design that yet.

My main goal at the time I write this is to suport the brackets plugin, which only needs to be able to fetch keyword information.