I have a fresh checkout, but running "rake test" has 8 failures and 49 errors. What needs to be setup to run unit tests? I have an enhancement I''d like to provide, but would prefer to include tests with it. --Ian
On Mon, Jun 1, 2009 at 3:32 PM, Ian Duggan <ian at ianduggan.net> wrote:> I have a fresh checkout, but running "rake test" has 8 failures and 49 errors. > > What needs to be setup to run unit tests? > > I have an enhancement I''d like to provide, but would prefer to include > tests with it.I just pushed some stuff. Try pulling and running the tests again. If they fail, let me know which ones, along with the version of nokogiri you have installed. -- Aaron Patterson http://tenderlovemaking.com/
On Mon, Jun 1, 2009 at 3:47 PM, Aaron Patterson <aaron.patterson at gmail.com> wrote:> On Mon, Jun 1, 2009 at 3:32 PM, Ian Duggan <ian at ianduggan.net> wrote: >> I have a fresh checkout, but running "rake test" has 8 failures and 49 errors. >> >> What needs to be setup to run unit tests? >> >> I have an enhancement I''d like to provide, but would prefer to include >> tests with it. > > I just pushed some stuff. ?Try pulling and running the tests again. > If they fail, let me know which ones, along with the version of > nokogiri you have installed.Is there a server or anything that has to be running? I have a ton of errors. Nokogiri is 1.2.3. http://gist.github.com/121918 % git top commit e16279dbb625b37886bdcef80913492685fe8a94 Merge: c1c92e3 cda821b Author: Aaron Patterson <aaron.patterson at gmail.com> Date: Mon Jun 1 15:45:57 2009 -0700 Merge branch ''master'' of git at github.com:tenderlove/mechanize
On Mon, Jun 01, 2009 at 06:17:52PM -0700, Ian Duggan wrote:> On Mon, Jun 1, 2009 at 3:47 PM, Aaron Patterson > <aaron.patterson at gmail.com> wrote: > > On Mon, Jun 1, 2009 at 3:32 PM, Ian Duggan <ian at ianduggan.net> wrote: > >> I have a fresh checkout, but running "rake test" has 8 failures and 49 errors. > >> > >> What needs to be setup to run unit tests? > >> > >> I have an enhancement I''d like to provide, but would prefer to include > >> tests with it. > > > > I just pushed some stuff. ?Try pulling and running the tests again. > > If they fail, let me know which ones, along with the version of > > nokogiri you have installed. > > Is there a server or anything that has to be running? I have a ton of > errors. Nokogiri is 1.2.3.What does this say?: ruby -rubygems -e''require "nokogiri"; puts Nokogiri::LIBXML_VERSION'' -- Aaron Patterson http://tenderlovemaking.com/
On Mon, Jun 1, 2009 at 7:04 PM, Aaron Patterson <aaron at tenderlovemaking.com> wrote:> What does this say?: > > ?ruby -rubygems -e''require "nokogiri"; puts Nokogiri::LIBXML_VERSION''% ruby -rubygems -e''require "nokogiri"; puts Nokogiri::LIBXML_VERSION'' 2.6.32
On Tue, Jun 2, 2009 at 10:36 AM, Ian Duggan <ian at ianduggan.net> wrote:> On Mon, Jun 1, 2009 at 7:04 PM, Aaron Patterson > <aaron at tenderlovemaking.com> wrote: >> What does this say?: >> >> ruby -rubygems -e''require "nokogiri"; puts Nokogiri::LIBXML_VERSION'' > > % ruby -rubygems -e''require "nokogiri"; puts Nokogiri::LIBXML_VERSION'' > 2.6.32 >The error seems to come from this line: Iconv.iconv(code, "UTF-8", s).join("") --Ian