The Artima Developer Community
Sponsored Link

Java Buzz Forum
Day 13 of 30 Min Project 12/27/14

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Warner Onstine

Posts: 242
Nickname: warnero
Registered: Aug, 2003

Warner Onstine is Java programmer and writer of two tech books
Day 13 of 30 Min Project 12/27/14 Posted: Dec 27, 2014 11:14 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Warner Onstine.
Original Post: Day 13 of 30 Min Project 12/27/14
Feed Title: BlackBox
Feed URL: http://feeds.feedburner.com/Blackbox
Feed Description: Where technology and art disappear
Latest Java Buzz Posts
Latest Java Buzz Posts by Warner Onstine
Latest Posts From BlackBox

Advertisement
Missed Days 10 - 12 due to Christmas and family stuff (12/24 - 12/26)

Today:
  • Figure out why convict isn’t respecting my env variable for PORT so that everything runs right
    • OK, one weird thing is that the settings file appears to get loaded before any of my process environment variables are defined, which would explain why it’s not showing up properly
    • Hmm, can’t see how that’s actually happening :/
    • It’s actually happening before gulp even gets going - weird
    • To get around it for the moment we’ll just set the port and db in their own settings file to make it easier for the moment
    • OK, did this export NODE_ENV=test && gulp
    • Now it loads the right config
    • But my tests are not running :/
    • Hmm, so clear-test-data gets run (but the db isn’t there)
    • but setup-test-data doesn’t appear to get run?
  • Ok, finally got everything running as it should again!
Next steps:
  • Get tests going that use test data
    • We have a few controllers/endpoints we need to test
      • /token - gets a valid token for a logged in user
      • /user - gets current user that is logged in via that token

Read: Day 13 of 30 Min Project 12/27/14

Topic: IntelliJ IDEA 14.0.3 EAP 139.872 is Available Previous Topic   Next Topic Topic: Java : Collection Framework : LinkedHashSet (toArray)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use