Unit Testing MvcUploader

Last post 05-26-2010, 8:38 AM by maird. 5 replies.
Sort Posts: Previous Next
  •  07-16-2009, 3:52 PM 54038

    Unit Testing MvcUploader

    The whole point of using the MVC framework IMO is to facilitate unit testing. Is there anyway you can implement a constructor for MvcUploader using HttpContextBase in the System.Web.Abstractions assembly instead of HttpContext? It would help immensely when unit testing the uploader. Thanx.
    Filed under:
  •  07-16-2009, 11:32 PM 54043 in reply to 54038

    Re: Unit Testing MvcUploader

    Hi,
     
    AjaxUploader is design for ASP.NET1.1 .
     
    It can works for the ASP.NET MVC , but is not compatible for the unit testing .
     
    Regards,
    Terry
     
  •  07-20-2009, 10:08 AM 54099 in reply to 54043

    Re: Unit Testing MvcUploader

    ...
     
    .NET 1.1 was released when?
     
    Any else suggest a MVC compatible upload component?
  •  09-30-2009, 9:11 AM 55967 in reply to 54099

    Re: Unit Testing MvcUploader

    I would suggest using a testability seam for this situation as you can't reliably test the actual uploading process.
  •  09-30-2009, 9:35 AM 55971 in reply to 55967

    Re: Unit Testing MvcUploader

    Hi,
     
    We will consider to make an adapter for ASP.NET MVC Production and UnitTest
     
    Regards,
    Terry
     
  •  05-26-2010, 8:38 AM 61328 in reply to 54038

    Re: Unit Testing MvcUploader

    Bump. This is still an issue that needs to be addressed.
View as RSS news feed in XML