Arquisoft / InciManager_i2b

InciManager_i2b
MIT License
1 stars 2 forks source link

User stories #33

Closed carmee-en closed 6 years ago

carmee-en commented 6 years ago

As we learned on the last laboratory class, for the next week we should have defined some user stories. The implementation is not required for now so the main focus is defining them correctly.

They will be stored in a new wiki entry. After uploading the stories and before closing the issue I will update the thread so one of you can review it.

carmee-en commented 6 years ago

First draft uploaded: wiki entry

Alejandro mentioned that the sensor's sending incidents is also important but i didn't know how that could be expressed. As always, any feedback is welcome.

alejgh commented 6 years ago

They look good to me in general. I would make just two quick changes to the first two user stories (the ones that describe reporting incidents).

SCENARIO SENSOR REPORTS AN INCIDENT GIVEN THE SENSOR HAS INTERNET CONNECTION WHEN THE SENSOR POSTS AN INCIDENT TO '/INCIDENT/CREATE' THEN THE INCIDENT IS SENT TO THE INCIDENT DASHBOARD AND THE RESPONSIBLE PERSON VIEWS THE INCIDENT (AND ITS STATE)


maybe some more things could be added (for example, the sensor includes in the POST it's login credentials) if the Cucumber tests require so.

* Finally, I don't see it necessary to distinguish if a Person or a Entity is creating the entity, since both are doing the same thing. The only difference on these two tests is the kind of the agent creating the incident. Of course, this is just my opinion, so we can discuss it if you want.
carmee-en commented 6 years ago

That makes sense to me. I already updated the wiki with these changes. Also, about entities and people reporting incidents, I asked Labra about it in an email. It seems to me that both should be included. Waiting for a response now.

carmee-en commented 6 years ago

No response yet. Closing the issue.