Fork me on GitHub
#hoplon
<
2017-06-15
>
flyboarder03:06:41

@thedavidmeister could you try this patch and see if the tests pass?

thedavidmeister05:06:30

@flyboarder oooh thanks for looking into that

thedavidmeister05:06:56

hmmm, what do you think about trying to get tests like this running against hoplon itself?

thedavidmeister05:06:52

the thing is, i do have tests that would pick this up, but i'm pulling in hoplon.jquery so i'd have to mess with that just to run the tests fairly

thedavidmeister05:06:39

i had a crack at this once before but got a bit confused about how circle/travis runs against forks vs. the main repo

thedavidmeister05:06:57

also, between then and now i've really become disillusioned with selenium as a middleman for testing hoplon elements

flyboarder06:06:10

I have personally started using spec for these types of things

thedavidmeister06:06:14

@flyboarder i don't think spec is a general replacement for pre/post as it commonly works for functions

thedavidmeister06:06:30

also, i commonly use spec in my pre/post 😕

ejemba11:06:53

Hi Guys is that possible to have something similar with hoplon : https://www.youtube.com/watch?v=klX8d9A-M94 ?

ejemba11:06:21

What are your plans (if any) for this concern ?

dm311:06:13

sure, you can generate DOM nodes from data

ejemba11:06:15

examples were reagent based but I think we can adapt it for hoplon

dm311:06:32

this is a good idea if you have to do a lot of CRUD forms

dm311:06:26

one approach is to generate hoplon code using macros

ejemba11:06:38

@dm3 why macro since ui is data ?

ejemba11:06:19

this remind me this little lib in the js world , http://www.celljs.org/index.html

dm311:06:48

yeah, code is data too 🙂 the lines are blurred

flyboarder16:06:50

@thedavidmeister I meant for testing, I use spec now, it would be sweet to make some compatible specs for hoplon

thedavidmeister22:06:54

@flyboarder oh, can you show me how that works?

thedavidmeister23:06:30

@flyboarder for example, how would you use spec to test the nil attributes issue ^^?