« first day (1956 days earlier)      last day (3033 days later) » 

10:01 PM
can anyone recommend a good JS library for building form validations and limiting user input?
I.E. Only numbers in zip/phone fields, etc
 
@Ampt what's it got to support? IE3 and Netscape 0.3 beta?
 
nah, nothing that archaic
Probably IE8 at the lowest
 
24 secs ago, by Ampt
Probably IE8 at the lowest
 
there are teams dealing with IE6 support man
 
Got asked today which versions of IE we support, by a customer that is well-known for being extremely security-conscious, and for believing that being extremely security-conscious means they need to use antiquated software without JavaScript. I should have asked which version they need us to support.
Honestly, IE6 would not surprise me in the slightest.
 
10:06 PM
> Security Conscious
 
My former boss told me he has over a decade of experience in doing the needful.
3
 
> Uses IE6
 
@AaronHall ahahaha
@Ampt Indeed.
 
yeah ok
you're not security conscious or even paranoid. You're delusional.
 
I didn't say I agree with them I just told you what happened
 
10:07 PM
me this morning
 
me this morning:
<insert picture of me>
 
after waiting 90 minutes for someone to show up to a 90minute meeting.
 
you should go for a run or something. get some colour on your face.
@MetaFight lol why wouldn't you give up after max 10
 
@MetaFight you turned into Jackie Chan? Amazing
 
he was channelling Jackie Chan
 
10:08 PM
@LightnessRacesinOrbit Because after a 30 minute wait I got a text saying he was on his way. 60 minutes later I got a text saying he had fallen asleep :|
 
Wish I had 30 minute weeks
@MetaFight like on the bus or summat
hopefully not behind the wheel!
 
IE10+ support
WOOOOOOHOOOOOO
 
I know the IE I have on my laptop supports our thing. I wonder what version that is
11. Meh.
 
<-- halping
 
I like to stare at the documentary filmmakers in my office too. It sort-of gives them a window into my soul.
 
10:13 PM
@Ampt you just found out you only have to support 10+?
 
@AaronHall Is it double glazed?
 
@Ampt 10+ supports min/max form values to lock numbers or datetimes: w3schools.com/tags/att_input_min.asp
 
caniuse.com doesn't seem to have a matrix for it :(
 
my last one for tonight:
 
@LightnessRacesinOrbit mmm... doughnuts...
 
10:22 PM
@JimmyHoffa well, in addition to browsers that aren't retarded, yeah.
but no one ever says "OH MAN WE HAVE TO SUPPORT CHROME 36?!" so it's hardly worth mentioning
 
So are there actual test cases in an agile process?
I'm confused about how that works.
 
yes, testing a component/story can be a part of that story
same with code reviews
 
writing tests, improving tests, refactoring a module to make it testable, writing a new feature along with new tests are all valid tasks in...well, hopefully any methodology, it's not like agile invented testing
if anything agile would encourage those kinds of tasks more so than plan-driven/waterfall ones because one of the "investments" you have to make to stay agile is spending time on an automated test suite
 
So how does the tester write tests? I know how to define my requirements to make them testable, but I don't understand how user stories are testable.
Or am I thinking about it the wrong way?
I mean, how do we know if we've covered all the cases?
 
if the user story isn't testable, that means either nobody knows what the feature is actually supposed to do, which is obviously bad, or nobody knows how to write tests for this kind of code, which means we need a separate story to invest in a testing framework or a refactoring to enable testing
"covering all the cases" is where we get into more technical details of what the most cost-efficient and robust ways of maintaining a test suite are, which is probably below the level you're currently working at
 
10:30 PM
OK. Let me give an example that will help me understand. Let's say I have the user story "As a data manager, I want to control access to the dataset so that it is not available to unauthorized users."
 
so there is probably some kind of request to access this dataset
you would write a test where a non-privileged user makes this request, and another test where a privileged user makes this request
 
I know that this means using AD to establish user groups -- I defined it in a requirement in the last release. But let's say I didn't. How would we develop that test case? How would the tester know how to test that?
 
this would likely have to be an integration/system/acceptance test (pick your favorite term) since it'll involve the authorization code and the dataset fetching code
AD?
 
I only try to cover all cases when doing white-box unit tests … they tend to be a waste of time on a feature-test level. Do the simplest test that would fail if the feature weren't implemented.
 
Right, but where does the tester get the information about which AD group is authorized?
@Ixrec Active Directory. Microsoft thing.
 
10:32 PM
yeah, corner cases go in unit tests, integration tests focus on the happy path and regressions for bugs that have actually happened
 
Or that we're even using AD for this?
 
@KitZ.Fox how does the function retrieving the dataset get this information?
if it doesn't use AD groups, then the information is not relevant to the test
if it does use AD groups, that means you need the AD groups before you can implement the feature
 
If the tester doesn't know which group is authorized, how can he know if he's testing privileged v. non-privileged?
 
I suspect he simply can't
 
The specific groups are irrelevant for the test? The feature does not specify some group, but that permissions can be set and will be enforced. So you could use some test group. You might not even need to connect to an AD but could use some mock.
 
10:34 PM
unless you implement this logic as "fetchData(isAuthorized)"
and be sure to call that from code which will someday know if the user really is authorized
but even if you did that, you're testing a feature that hasn't been implemented and can't be implemented yet, which is usually not the best use of one's time
 
I'm talking about a feature that is to be implemented and so needs to be tested prior to release.
Or does that not happen in agile?
 
testing does happen in agile
otherwise agile would be stupid
lemme try this
if it is possible to implement the feature at all, then it is (usually) possible to implement a test for said feature; it's just a question of how much you have to mock out or refactor to make the test feasible
 
Right.
 
if the tester doesn't know the information needed to write the test, either the feature can't be implemented yet anyway, or the tester needs access to more information than they currently have
 
Right.
 
10:38 PM
ideally most of the tests are written by the same people who develop the features in the first place
so the latter problem generally can't happen
 
Developers write the tests?
 
why not?
 
honestly, I don't understand why anyone else would
 
@Ixrec no! by spreading implementation and tests between different people, you're far more likely to spot problems
 
Our devs throw untested code to QA all the time.
 
10:39 PM
well, that's a different issue
 
then QA and Dev are working on the same sprint, right?
how can you mark a story complete unless it's tested?
 
Well, I'll think about it again after I eat.
bbl
 
later
 
@amon the spotting problems thing is what I thought code reviews are for; normally the tests are reviewed alongside the new feature, right?
 
@Ampt Depends on whether your “definition of done” includes that a feature is implemented, reviewed, tested, and documented before it is complete. Or you could define a feature as done as soon as something more urgent turns up…
 
10:41 PM
having the tests be written by someone else...I just don't see how that can even work unless all of your tests are at the integration/acceptance level, or you hammer out such a thorough spec before any implementation happens that you're basically doing waterfall instead of agile
 
@amon yeah. That's going to have to be something that gets defined for him to understand how his stories are going to be structured
 
but I may be biased because of the type of code I work on, I know many people work on code that requires a lot more upfront design work
 
NCEES Principles and Practice of Engineering Examination
Software Engineering Exam Specifications - https://cdn.ncees.org/wp-content/uploads/2012/11/SWE-Apr-2013.pdf
 
as opposed to NSPE right?
 
Is this the sort of engineering exam they've been talking about putting into law as some sort of prerequisite to calling yourself a "software engineer"?
 
10:44 PM
that's a loaded question
Theres a difference between saying "I'm an engineer" and signing off on legal documents as an engineer
 
I've read a couple of Michael O'Church's screeds on the subject.
Otherwise I know next to nothing about it
 
but yes, there is now a Professional Engineering License available for Software engineering
What if confers and the legal requirements for making claims about engineering I'm not sure about
 
Interesting
 
I know the Civial/Architectural ones are very important
they let you sign off on building construction plans
what the SE one gets you... ?
 
BDUF?
 
10:46 PM
english?
 
@Ixrec Part of my role is bringing lots of code under test coverage. It's difficult to iron out design problems at this stage, but it's amazing what horrendous bugs have gone undetected for so long – some things are just obviously wrong. If these tests are written alongside implementation, there can be a much better feedback cycle – provided that the programmer and tester are in the same team.
 
Big Design Up Front?
 
@AaronHall Yes, those kinds of things
 
@amon Or the same person :(
 
Fail fast isn't really an approach you can use in bridge design.
well, you can until they revoke your license.
 
10:47 PM
@amon I definitely agree with writing tests for feature X when you first implement feature X, what I don't get is why that would ever be easier/more productive with a separate person writing the tests
 
Fail fast for bridges - That's how they figure out the biggest truck you can drive over one - they drive heavier and heavier ones until it collapses, and rebuild the bridge with the sign.
 
/r/shittyaskscience
 
test to failure.
 
then again this is the same reason pair programming never made much sense to me (except as an educational thing); the few times my team attempted to do anything like it in practice we always ended up with one person driving and the other watching, and we quickly realized that it was simply far more productive to go off and implement separate parts and then review each other's code as we finished stuff
brb
 
@Ixrec It would never be easier, but a second pair of eyeballs seems like a good idea. Note that many great programmers haven't learned to be good testers. If I test my own code, I tend to be blind for anything that isn't the happy path, or for any thorny language-specific traps (though I'm getting increasingly competent enough to dissect my code until I see it for the crap it is).
 
10:51 PM
I'm assuming there is someone else doing code reviews, which includes reviewing the test code I've written
I completely agree with second pair of eyeballs
actually brb
 
Finally... The Real Silver Bullet™
 
11:07 PM
great
 
huh, still not a single vote, comment or answer on today's "you guys suck" meta question
normally that gets at least a little response very quickly
 
I jinxed myself
 
I think your approach of dodging the actual question and focusing on the possibility of redemption is a much better idea than the obligatory "actually, you did deserve that ban, and here's why" post that we're inevitably going to be tempted to write at some point
 
11:10 PM
off-topic meta-meta-question... where on SE is the appropriate place to ask/discuss about reference sites going offline and large numbers of links in old questions/answers needing to be updated to new sites and/or archive.org links?
 
meta.stackexchange.com ?
though if this is for just one site, then the meta of that one site
sounds like something that'd require a coordinated effort of 2kers to fix with any thoroughness
 
it's not just for one site
thanks
 
definitely MSE then
 
im sure that book is loaded with nonsense
 
I'm over 2k on a few sites, so I could help :)
 
11:21 PM
@Ampt OK, so it's part of what the team negotiates?
I guess that makes sense. This tester is completely new to testing, but he's shown some promising initiative.
The devs and I are committed to tempering him into a value adding resource.
Our QA has been so bad for so long.
 

« first day (1956 days earlier)      last day (3033 days later) »