Re: Data Migrations and Testing

2014-04-17 Thread Andrew Godwin
Hi Christian, Can you explain your situation more, and perhaps give us some example files or console output? When you run tests they should run through all the migrations first, so any initial data should get loaded in before tests begin. Andrew On Thu, Apr 17, 2014 at 1:16 PM, Christian Schmit

Data Migrations and Testing

2014-04-17 Thread Christian Schmitt
Hello, currently I try to make a TestSuite for a already grown application and it is horrible to do so. But thats not why I'm writing here. Our Application has some data migrations, previously we used South, now we use the Django 1.7 Migrations with RunPython to do so. In the Docs there is als

Re: Proposal: Write unit tests for JavaScript

2014-04-17 Thread Carl Meyer
On 04/16/2014 07:20 PM, Russell Keith-Magee wrote: > On Thu, Apr 17, 2014 at 5:57 AM, Trey Hunner > wrote: > > I saw a previous discussion about JavaScript testing in Django but > it looks like there hasn't been any progress in a few years. > > Some of my

Re: Proposal: document and enforce style of all files (including JS, CSS, HTML)

2014-04-17 Thread Carl Meyer
On 04/16/2014 07:08 PM, Russell Keith-Magee wrote: > Sounds like a reasonable proposal to me. Our JavaScript code has… > evolved, shall we say… over the years. We've recently started enforcing > Flake8 compliance on our Python codebase; adopting similar rigour for > our JavaScript code would seem

Re: Proposal: Write unit tests for JavaScript

2014-04-17 Thread Matthew Lauber
Regarding running javascript tests, could we consider something like rhino? Just an off the top of my head suggestion. Would avoid node.js, not sure if it's an improvement though. Matt Lauber On Wed, Apr 16, 2014 at 9:20 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > On Thu, Ap