Fork me on GitHub
#architecture
<
2019-01-15
>
lmergen17:01:30

sounds to me like you’re trying to monitor low level data (server logs) on too high a level (black box testing)

lmergen17:01:53

you will probably want to change your testing strategy for this a bit

mathpunk22:01:56

I've learned that we have a service which escalates certain kinds of events, by their severity

mathpunk22:01:13

but I don't know that I have other higher-level data, out of the current box

mathpunk22:01:53

note: this is my first testing job and you will not offend me if you ask me any obvious questions or have obvious comments because, they won't be obvious to me πŸ™‚

mathpunk22:01:48

i do know that i am spending a lot of time at the e2e tippy top of "The Testing Pyramid" but, until our API stabilizes more I don't think that I will be writing tests at a lower layer

jaihindh.reddy22:01:51

@mathpunk just a thought but, because log lines have timestamps (which I'm assuming you can parse and get at), you can just capture all the data the system under test slurps or spits, and do the analysis later, obviating the need to tail or watch files.

jaihindh.reddy22:01:35

Sort of like how simulant does it.

mathpunk22:01:40

that is a good point

jaihindh.reddy22:01:17

You can model the actions a user can do, and the reactions of the system, and refine these models as you generatively test/simulate them against the system.

mathpunk22:01:22

simulation testing is the goal.... but our app is so big that there is a lot of plain example-based tests to be written, just to make sure that i understand what user actions are available

jaihindh.reddy22:01:54

^ I feel your pain πŸ˜„

jaihindh.reddy22:01:03

It seems to me like doing it generatively is going to save you a lot of effort, because it's very easy to make assumptions about how a system will behave by reasoning inductively, something that generative tests relentlessly point out. So once you've invested in setting up a quick feedback loop doing this, you'll get to a solid model in no time (fingers crossed πŸ™‚)

seancorfield23:01:03

We have a couple of interactive applications with some fairly complex semantics, and we wrote specs for the possible valid sequences of actions, and then we generatively test that when we get the app into a given state, the expected properties hold true...

seancorfield23:01:10

It's tricky to do but can be pretty powerful. Mind you, as @mathpunk says, first you need to know a) what actions are available and b) how combinations of actions can be combined!